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: o3i.international
I ran this command: sudo /usr/local/bin/certbot-auto --nginx
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter 'c' to cancel): o3i.international
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/o3i.international.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
Could not automatically find a matching server block for o3i.international. Set the `server_name` directive to use the Nginx installer.
IMPORTANT NOTES:
- Unable to install the certificate
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/o3i.international/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/o3i.international/privkey.pem
Your cert will expire on 2020-01-29. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again with the "certonly" option. To non-interactively renew *all*
of your certificates, run "certbot-auto renew"
My web server is (include version): nginx 1.9.3 Ubuntu
The operating system my web server runs on is (include version): Ubuntu 15.10 (GNU/Linux 4.2.0-42-generic x86_64)
My hosting provider, if applicable, is: Physically hosted
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
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.39.0
I keep receiving an error saying “Could not automatically find a matching server block for secure.o3i.international. Set the server_name directive to use the Nginx installer.”
I’m not sure what this means, but any help is highly appreciated.
Ok
Neither of those files has o3i.
You will need to create a file for o3i (if one is not already there).
Please show: ls -l /etc/nginx/sites-available/
and again: for legibility, please insert a line with 3 back ticks before your pasted file and also after