Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
sudo certbot --nginx -d img.api.directoryfox.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Attempting to parse the version 0.34.2 renewal configuration file found at /etc/letsencrypt/renewal/dev1.directoryfox.com.conf with version 0.31.0 of Certbot. This might not work.
Cert not yet due for renewal
You have an existing certificate that has exactly the same domains or certificate name you requested and isnât close to expiry.
(ref: /etc/letsencrypt/renewal/img.api.directoryfox.com.conf)
What would you like to do?
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 1
Keeping the existing certificate
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/img.api.directoryfox.com
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
new sites, or if youâre confident your site works on HTTPS. You can undo this
change by editing your web serverâs configuration.
Select the appropriate number [1-2] then [enter] (press âcâ to cancel): 2
Traffic on port 80 already redirecting to ssl in /etc/nginx/sites-enabled/img.api.directoryfox.com
Congratulations! You have successfully enabled https://img.api.directoryfox.com
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=img.api.directoryfox.com
IMPORTANT NOTES:
-
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/img.api.directoryfox.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/img.api.directoryfox.com/privkey.pem
Your cert will expire on 2020-03-12. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the âcertonlyâ option. To non-interactively renew all of
your certificates, run âcertbot renewâ -
If you like Certbot, please consider supporting our work by:
Donating to ISRG / Letâs Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
My web server is (include version):
Ubuntu 16.04.5 x64
The operating system my web server runs on is (include version):
Linux, not sure about version
My hosting provider, if applicable, is:
Digital Ocean
I can login to a root shell on my machine (yes or no, or I donât know):
Donât know, but I have sudo access on my user
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 0.31.0
After all of this I have tried to no avail to get HTTPS to work. I am happy to paste my sites-enabled file and all of that for help. Thank you!