I’ve decided to revoke the certificate and install a new one. I ran “letsencrypt revoke” which removed fullchain.pem and privkey.pem from /etc/letsencrypt/live/ directory. Now, I’m unable to run “nginx -t”, produces the below output:
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/etc/letsencrypt/live//privkey.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc/letsencrypt/live//privkey.pem’,‘r’) error:20074002:BIO routines:FILE_CTRL:system lib error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed
Can anybody help? I’m new to this, I must have made a mistake in attempt to revoke the certificate.