Well, I spoke too soon. I got positive acknowledgment:
certbot --nginx --cert-name theprequel.org -d theprequel.org -d www.theprequel.org
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
You are updating certificate theprequel.org to include new domain(s):
You are also removing previously included domain(s):
(None)
Did you intend to make this change?
(U)pdate cert/©ancel: U
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for www.theprequel.org
tls-sni-01 challenge for theprequel.org
Waiting for verificationâŠ
Cleaning up challenges
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/theprequel.org-ssl.conf
Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/theprequel.org-ssl.conf
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): 1
Your existing certificate has been successfully renewed, and the new certificate
has been installed.
The new certificate covers the following domains: https://theprequel.org and
https://www.theprequel.org
You should test your configuration at:
https://www.ssllabs.com/ssltest/analyze.html?d=theprequel.org
https://www.ssllabs.com/ssltest/analyze.html?d=www.theprequel.org
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/theprequel.org/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/theprequel.org/privkey.pem
Your cert will expire on 2018-11-30. 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â
I then deleted the certificate exception from my browser. I cannot get a connection at www.theprequel.org. I ran the test from Qualys labs. theprequel.org passed.
www.theprequel.org failed with: Certificate name mismatch.
So, a server with both domains was NOT installed. And to confirm, here is what certbot certificates reports:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found the following certs:
Certificate Name: theprequel.org
Domains: theprequel.org
Expiry Date: 2018-11-30 15:51:38+00:00 (VALID: 77 days)
Certificate Path: /etc/letsencrypt/live/theprequel.org/fullchain.pem
Private Key Path: /etc/letsencrypt/live/theprequel.org/privkey.pem
So, what happened? Why would certbot report success and actually fail? You guys need something like certbot doctor because the whole thing, as simple as it is, is really fragile.