Prefixed Certificate Doesn't Work?


My domain is: (works) (doesnt work)

I ran this command:

My web server is (include version): nginx/1.12.2

The operating system my web server runs on is (include version): Ubuntu 16.04

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

As mentioned in the domain section above, my main site works but not my prefixed site. I’ve just “updated” my certificate to include addons. but apparently it doesn’t work? (used the tutorial above)


You obtained a certificate that covers both names, but that certificate is not being presented by your Nginx configuration. Instead, only the certificate covering is being sent. Could you show us the exact commands you used (not a tutorial you followed…), as well as the output of certbot certificates?


And show us the appropriate nginx configuration file.


cerbot certificates output:
the nginx config for =
Commands i used:

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo certbot --nginx -d -d
sudo certbot renew --dry-run

Thanks for the help :slight_smile:



All certificate I saw logged was for your root domain only.

Can you try issue certificate for both domains. (Or a wildcard)?

Okay… The last certificate you issued contains both domains. (

However, did you deploy the certificate to corresponding vHost? (also restart the server?)

Thank you

P.S. it’s “subdomain” not “prefixed” domain.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.