SSL error in Uptime-kuma #639

Closed
opened 2026-02-28 01:53:03 -05:00 by deekerman · 6 comments
Owner

Originally created by @shardharma on GitHub (Dec 9, 2021).

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hi,

We are getting errors while configuring the slack integration for notification, please help.
Error- self signed certificate in certificate chain
Attached screenshot for your reference.
uptimekuma

🐻 Uptime-Kuma Version

1.6.2

💻 Operating System and Arch

No

🌐 Browser

Chrome

🐋 Docker Version

Docker desktop 2.2.0.5

🟩 NodeJS Version

No

Originally created by @shardharma on GitHub (Dec 9, 2021). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### 📝 Describe your problem Hi, We are getting errors while configuring the slack integration for notification, please help. Error- self signed certificate in certificate chain Attached screenshot for your reference. ![uptimekuma](https://user-images.githubusercontent.com/59441855/145378548-1b5f2f7c-7f67-4ddf-a0a8-118e3ba2d090.JPG) ### 🐻 Uptime-Kuma Version 1.6.2 ### 💻 Operating System and Arch No ### 🌐 Browser Chrome ### 🐋 Docker Version Docker desktop 2.2.0.5 ### 🟩 NodeJS Version No
deekerman 2026-02-28 01:53:03 -05:00
  • closed this issue
  • added the
    Stale
    help
    labels
Author
Owner

@cruzanstx commented on GitHub (Dec 9, 2021):

I am also having a similar issue with the mattermost notifications. I think we may be able to over come it by adding the CA cert to the image or if we could expose a flag to ignore certificate errors.

@cruzanstx commented on GitHub (Dec 9, 2021): I am also having a similar issue with the mattermost notifications. I think we may be able to over come it by adding the CA cert to the image or if we could expose a flag to ignore certificate errors.
Author
Owner

@xiazeyu commented on GitHub (Dec 11, 2021):

Hey, I also met the problem, and it is solved by https://github.com/louislam/uptime-kuma/issues/850.

@xiazeyu commented on GitHub (Dec 11, 2021): Hey, I also met the problem, and it is solved by https://github.com/louislam/uptime-kuma/issues/850.
Author
Owner

@zafarasyed commented on GitHub (Apr 6, 2022):

I am also having a similar issue with the mattermost notifications. I think we may be able to over come it by adding the CA cert to the image or if we could expose a flag to ignore certificate errors.

There is a much easier way, upon investigating the code I realized that there are two variables and if they are set properly it will automatically default to https.

  • UPTIME_KUMA_SSL_KEY=data/certs/uptimekuma.key
  • UPTIME_KUMA_SSL_CERT=data/certs/uptimekuma.crt
    set the above enviroment variable in your docker compose file also make sure that you have the certificate in the data/certs directory below is the sample example

version: "3.1"

services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: UptimeKuma
volumes:

  • /home/user/UptimeKuma/data:/app/data
  • /home/user/UptimeKuma/data/certs:/certs:ro
    environment:
  • PUID=1000
  • PGID=1000
  • TZ=America/location
  • UMASK_SET=022 # optional
  • UPTIME_KUMA_SSL_KEY=data/certs/uptime.key
  • UPTIME_KUMA_SSL_CERT=data/certs/uptime.crt
    ports:
  • 3001:3001
    restart: unless-stopped
    security_opt:
  • no-new-privileges:true
@zafarasyed commented on GitHub (Apr 6, 2022): > I am also having a similar issue with the mattermost notifications. I think we may be able to over come it by adding the CA cert to the image or if we could expose a flag to ignore certificate errors. There is a much easier way, upon investigating the code I realized that there are two variables and if they are set properly it will automatically default to https. - UPTIME_KUMA_SSL_KEY=data/certs/uptimekuma.key - UPTIME_KUMA_SSL_CERT=data/certs/uptimekuma.crt set the above enviroment variable in your docker compose file also make sure that you have the certificate in the data/certs directory below is the sample example version: "3.1" services: uptime-kuma: image: louislam/uptime-kuma:1 container_name: UptimeKuma volumes: - /home/user/UptimeKuma/data:/app/data - /home/user/UptimeKuma/data/certs:/certs:ro environment: - PUID=1000 - PGID=1000 - TZ=America/location - UMASK_SET=022 # optional - UPTIME_KUMA_SSL_KEY=data/certs/uptime.key - UPTIME_KUMA_SSL_CERT=data/certs/uptime.crt ports: - 3001:3001 restart: unless-stopped security_opt: - no-new-privileges:true
Author
Owner

@DaniW42 commented on GitHub (Apr 13, 2022):

Hey @zafarasyed,
I was trying to follow your environment variable hint but didn't had any success. Which certificate needs to go to the container? The one for my uptime-kuma or the intermediate?

@DaniW42 commented on GitHub (Apr 13, 2022): Hey @zafarasyed, I was trying to follow your environment variable hint but didn't had any success. Which certificate needs to go to the container? The one for my uptime-kuma or the intermediate?
Author
Owner

@github-actions[bot] commented on GitHub (Sep 23, 2022):

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

@github-actions[bot] commented on GitHub (Sep 23, 2022): We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 25, 2022):

This issue was closed because it has been stalled for 2 days with no activity.

@github-actions[bot] commented on GitHub (Sep 25, 2022): This issue was closed because it has been stalled for 2 days with no activity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#639
No description provided.