Hello,
I have used the Ghost CMS one-click installer to create my droplet, this included an SSL certificate for the non-www version of my domain only.
I need a certificate for both www.domain.com and domain.com, so I need to reissue.
When I run sudo certbot --nginx -d example.com -d www.example.com
I get: The requested nginx plugin does not appear to be installed
How do I reissue my certificate?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @BigChief,
Depending on your server’s OS(Ubuntu/CentOS), you’ll need to run a command to install it.
Ubuntu If you are on an Ubuntu server, you’ll need to add the Certbot PPA to your list of repositories. To do so, run the following commands on the command line on the machine:
Run this command on the command line on the machine to install Certbot.
Run this command to get a certificate and have Certbot edit your Nginx configuration automatically to serve it, turning on HTTPS access in a single step.
Or, just get a certificate
If you’re feeling more conservative and would like to make the changes to your Nginx configuration by hand, run this command.
CentOS
If you’re using RHEL or Oracle Linux, you’ll also need to enable the optional channel. On EC2, RHEL users can enable the optional channel by running the following command, substituting your EC2 region for REGION in the command:
Run this command on the command line on the machine to install Certbot.
Run this command to get a certificate and have Certbot edit your Nginx configuration automatically to serve it, turning on HTTPS access in a single step.
Or, just get a certificate
If you’re feeling more conservative and would like to make the changes to your Nginx configuration by hand, run this command.
That’s it, you are ready!
Regards, KDSYs