I’d like use letsencrypt to install a certificate on my VPS (Apache) so I can browse to an application securely (the application is “Adminer” which is similar to phpmyadmin). But I have a problem or two:
- I think I attempted (somewhat unsuccessfully) to use certbot or letsencrypt to install a certificate a couple of months ago but wasn’t able to get it to work. Now I want to undo that installation (I’m on Ubuntu 14.04). Is there a “letsencrypt” command that I can use to list and delete all certificates installed by letsencrypt or certbot? If not, should I do this by searching a directory and removing certain files? If so, what directory should I look in and what files should I look for?
- Last week I definitely did install a self-signed certificate using an “openssl” command. I’d like to uninstall it …is it as simple as removing the two files from the /etc/apache2/ssl/ directory? The command I used was this:
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt