Adding subdomains after certbot-auto installation


#1

Hi

My Setup:
Ubuntu 14.04
Apache/2.4.7

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

Now I’m missing SSL for example.com and for my subdomain www.login.example.com and login.example.com.

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

certbot certonly --webroot -w /var/www/example/ -d www.example.com -d example.com -w /var/www/other -d other.example.net -d another.other.example.net

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

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!


#2

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.


#3

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