Adding subdomains after certbot-auto installation


My Setup:
Ubuntu 14.04

I used the ./certbot-auto configuration to secure my website
This worked very fine and SSL is installed on that site.

Now I’m missing SSL for and for my subdomain and

I looked into the documentation and used this line to extend the certificate:

certbot certonly --webroot -w /var/www/example/ -d -d -w /var/www/other -d -d

The command gives me the message: “Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/ …”

But when I check those domains don’t have any SSL installed.
I think I miss a command here, but I don’t know which one?

It’s my first SSL installation, so maybe i don’t see a real obvious point.

Thanks for any help!

You used the “certonly” option, which provided the certificates, but hasn’t modified your apache configuration to include the certificates.

You will need to manually edit you apache config to use the new certificate.

Note, for adding additional subdomains to an existing configuration I’d suggest using the -expand option.

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