Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable_ssl.sh renew failures #4511

Closed
mekya opened this issue Oct 25, 2022 · 0 comments
Closed

enable_ssl.sh renew failures #4511

mekya opened this issue Oct 25, 2022 · 0 comments
Assignees

Comments

@mekya
Copy link
Contributor

mekya commented Oct 25, 2022

Short description

  1. Server responds invalid certificate for ssl
    Screenshot 2022-10-25 at 13.24.29.png

  2. Renew the certificate with sudo ./enable_ssl.sh -d ovh36.antmedia.io -r and it responds that Screenshot 2022-10-25 at 13.26.25.png

  3. When try to access the server with https, it gives the same error in step 1

  4. I run the sudo ./enable_ssl.sh -d ovh36.antmedia.io command and after that it still gives the same error in step 1

Insights

When I list the folders in /etc/letsencrypt/live/, there are two folders

drwxr-xr-x 2 root root 4096 Jul 26 10:02 ovh36.antmedia.io
drwxr-xr-x 2 root root 4096 Oct  5 16:02 ovh36.antmedia.io-0001

letsencrypt.zip

The updated certificate is on ovh36.antmedia.io-0001 but enable_ssl.sh just looks at the ovh36.antmedia.io folder.

I've just moved /etc/letsencrypt to /etc/letsencrypt_backup/ in ovh36 for your reference and putting the folder as zip file below.
letsencrypt.zip

Attention

Please think about confirming this problem with a test case in CI/CD so that we don't encounter it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants