Should I revoke SSL? How do i do this?

Okay so I’ve gone and messed up the SSL starting off by putting it on ajob.com, and then putting it on www.ajob.com.

So on the test, I get one on www.ajob.com.

I’m thinking: the best thing would be to delete these SSLs and start again.

I deleted them from the host.

But I did not revoke them. Should I do this? The thing is a mess and I need to start again.

There’s no reason to revoke certificates unless you believe that the private key was compromised. It does not affect the rate limits.

Edit: the existence of the old certificates also doesn’t prevent the issuance of new certificates with the same domain names, except for the rate limits.

1 Like

Hi Schoen, thanks for getting back to me.

Yes, I will not revoke the cert. I can get a new one?

I tried to get a new one and I got this error message in Putty:

Error while running apache2ctl configtest.
Action ‘configtest’ failed.
The Apache error log may have more information.

AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/ajob.com-le-ssl.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/www.ajob.com/fullchain.pem’ does not exist or is empty

I would suggest deleting all of the -le-ssl.conf files, because they refer to certificates that you’ve already deleted.

This is Line 32 on:
SSLCertificateFile /etc/letsencrypt/live/www.ajob.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.ajob.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf

Right, those are files that contained your certificate-related files that were created by Certbot but that you then deleted.

Hi Schoen, thanks again. I will try to delete all the -le-ssl.conf via FTP…then, I’ll escape by watching some ridiculous video on Bitcoin.

Another issue arose after I deleted the files:
Error while running apache2ctl configtest.
Action ‘configtest’ failed.
The Apache error log may have more information.

apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/ajob.com-le-ssl.conf: No such file or directory

Hum that’s odd on Line 219 of this file I get:

Include the virtual host configurations:

IncludeOptional sites-enabled/*.conf

Looks at folder

Ah okay I see two more of those files - I deleted them and now it works.

Sorry, I guess you had to delete the files in sites-available and also the corresponding links in sites-enabled.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.