Answer the question
In order to leave comments, you need to log in
How to set up SSL for a subdomain?
Hello.
There is a site, site,com, and dev.site.com. Both refer to the same IP, respectively, I just made a virtual host for Apache, ServerName + pointed them to different folders on the server. But now the browser swears that the certificate is valid for only one address. Tried to do:
sudo certbot -a webroot -i apache -w /var/www/dev -d dev.site.com
sudo certbot -a webroot -i apache -w /var/www/dev -d site.com
Answer the question
In order to leave comments, you need to log in
Cap all works there
At least tell me what certbot spits out to you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question