My certs were set to auto renew using cron 3 of the certs passed while 2 failed and I'm not sure why I'm getting this error below. Are the symlinks broken? See below:
Output of live directory:
drwxr-xr-x 2 root root 4.0K Jan 20 22:41 .
drwx------ 6 root root 4.0K Jan 20 21:21 ..
-rw-r--r-- 1 root root 692 Oct 25 02:43 README
lrwxrwxrwx 1 root root 49 Oct 25 16:25 cert.pem -> ../../archive/jira.sunriselabs.com-0001/cert2.pem
lrwxrwxrwx 1 root root 50 Oct 25 16:25 chain.pem -> ../../archive/jira.sunriselabs.com-0001/chain2.pem
lrwxrwxrwx 1 root root 54 Oct 25 16:25 fullchain.pem -> ../../archive/jira.sunriselabs.com-0001/fullchain2.pem
lrwxrwxrwx 1 root root 52 Oct 25 16:25 privkey.pem -> ../../archive/jira.sunriselabs.com-0001/privkey2.pem
Output of archive directory:
drwxr-xr-x 2 root root 4.0K Oct 25 16:25 .
drwx------ 10 root root 4.0K Oct 25 17:38 ..
-rw-r--r-- 1 root root 1.9K Oct 25 02:43 cert1.pem
-rw-r--r-- 1 root root 1.9K Oct 25 16:25 cert2.pem
-rw-r--r-- 1 root root 1.7K Oct 25 02:43 chain1.pem
-rw-r--r-- 1 root root 1.7K Oct 25 16:25 chain2.pem
-rw-r--r-- 1 root root 3.5K Oct 25 02:43 fullchain1.pem
-rw-r--r-- 1 root root 3.5K Oct 25 16:25 fullchain2.pem
-rw------- 1 root root 1.7K Oct 25 02:43 privkey1.pem
-rw------- 1 root root 1.7K Oct 25 16:25 privkey2.pem
My domain is:
I ran this command:
docker run --rm -v certbotConf:/etc/letsencrypt -v certbotWww:/var/www/certbot -v certbotLib:/var/lib/letsencrypt -v certbotLog:/var/log/letsencrypt certbot/certbot renew >> /var/log/ssl-renew.log 2>&
It produced this output:
Processing /etc/letsencrypt/renewal/jira.sunriselabs.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Attempting to renew cert (jira.sunriselabs.com) from /etc/letsencrypt/renewal/jira.sunriselabs.com.conf produced an unexpected error: [Errno 17] File exists: '/etc/letsencrypt/archive/jira.sunriselabs.com/privkey3.pem'. Skipping
My web server is (include version):
Nginx
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
AWS
I can login to a root shell on my machine (yes or no, or I don't know):
Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):