My domain is: ignace72.eu
I've reinstalled my server.
I couldn't save the certificates, I'd like to be able to renew them to have a working server again.
I ran this command:
sudo certbot --nginx --cert-name ignace72.eu -d ignace72.eu -d matomo.ignace72.eu --key-type ecdsa --elliptic-c
urve secp384r1
It produced this output:
Error while running nginx -c /etc/nginx/nginx.conf -t.
2023/06/12 02:17:17 [emerg] 5129#5129: cannot load certificate "/etc/letsencrypt/live/ignace72.eu/fullchain.pem": BIO_new_file()
failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/etc/letsencrypt/live/ignace72.eu/fullchain
.pem, r) error:10000080:BIO routines::no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
If I comment on the lines pointing to the certificates, I get :
Error while running nginx -c /etc/nginx/nginx.conf -t.
2023/06/12 02:19:41 [emerg] 5173#5173: no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/sites-en
abled/matomo.conf:10
nginx: configuration file /etc/nginx/nginx.conf test failed
My web server is (include version): Nginx 1.22.1
The operating system my web server runs on is (include version):
Debian 12
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
In sudo
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):
certbot 2.1.0