Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

Renewed my SSL certificate but getting UNABLE_TO_VERIFY_LEAF_SIGNATURE in nodejs on AWS EC2 server

$
0
0

I have a nodejs/express api on a AWS EC2 server with a ssl certificate that is generated with Let's encrypt every 3 months. Auto renewal isn't on and we let it exipre before trying to renew but after renewing it we are getting an error saying:

Unable to verify the first certificate

or

UNABLE_TO_VERIFY_LEAF_SIGNATURE

depending on what we are testing with.

We are using Certbot for renewing with the following command (and not $ certbot renew) :

$ sudo certbot certonly --dns-route53 -d *.example.com -d example.com --server https://acme-v02.api.letsencrypt.org/directory

Certificates are generated as expected with an expiration date 3 months from now.

Any ideas on what's going on ? I've tried most of the things I could find on SO and elsewhere but nothing worked.

P.S. Servers and I don't go along very well :/ (I do app mobile dev) so assume that I don't know anything when replying :D


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>