I think that only the later ones are numbered. I think the original ones aren't. I could be wrong though. We'll find out from update_symlinks.
@griffin You're wrong
If update_symlinks can't find them then I'm wrong.
root@nc-jail:~ # certbot update_symlinks
Saving debug log to /var/log/letsencrypt/letsencrypt.log
root@nc-jail:~ # certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
No certificates found.
root@nc-jail:~ #
Even if update_symlinks
works, I've helped someone recently where certbot would give a Python error due to the fact someone manually messed with the /archive/
folder because of the missing number suffix.
Could you give us the output of:
ls -l /usr/local/etc/letsencrypt/live/cloud.lemovstudio.com/
?
sudo ls -la /usr/local/etc/letsencrypt/live/cloud.lemovstudio.com/
Great minds think alike!
root@nc-jail:~ # ls -la /usr/local/etc/letsencrypt/live/cloud.lemovstudio.com/
total 6
drwxr-xr-x 2 root wheel 3 Mar 24 18:52 .
drwxr-xr-x 3 root wheel 3 Mar 24 15:50 ..
---------- 1 root wheel 692 Mar 24 15:51 README
root@nc-jail:~ #
update_symlinks probably requires a functional renewal configuration file.
Let's do it manually. First we rename the files with the number suffix, then we make the symlinks:
rename ".pem" "1.pem" /usr/local/etc/letsencrypt/archive/cloud.lemovstudio.com/*
cd /usr/local/etc/letsencrypt/live/cloud.lemovstudio.com/
ln -s ../../cert1.pem cert.pem
ln -s ../../chain1.pem chain.pem
ln -s ../../fullchain1.pem fullchain.pem
ln -s ../../privkey1.pem privkey.pem
Now test certbot please, you probably need to use --config-dir /usr/local/etc/letsencrypt
Yep. Need to try renaming them with 1's after each.
That's certainly possible. Probably easier just to grab new certs.
What webserver you using? Apache, nginx?
I use ngix
try this:
sudo certbot certonly --nginx -d "cloud.lemovstudio.com" --dry-run
I think your port 80 is timing out though.
I've typed some instructions above worth trying first
Edit took some time You guys were quick with the new replies
ok go slow pls
These are the instructions:
test with this:
certbot certificates --config-dir /usr/local/etc/letsencrypt
I'm hoping the config-dir parameter isn't actually needed. That's gonna become super annoying.