SSL for the server and the virtual host
I have set-up the web server and have installed the Let's Encrypt certificate, the site is visible at
Seems there are two issues I need to resolve.
Whilst, I only have a conf file and document root for tazmeen.com.au, the site is also visible at
The second issue I have is that since Let's Encrypt does not offer wildcard certificates, there is no certificate installed for mars.tazmeen.com.au. Should I create a virtual host for this sub-domain and then install the certificate? Would this also install the certificate for the hostname mard? What is the standard practice and what should I do?
Many thanks for help.
4 Replies
@Vance:
Let's Encrypt allows you to have any number of host names (Subject Alternative Names) in the certificate. So you can request one that includes mars.tazmeen.com.au and whatever other names you would like. At some point in the future they may provide wildcard certificates.
Hi Vance. Thank you for your guidance.
Would like a clarification. Before I go ahead and arrange a SSL certificate from Lets Encrypt, should I create a virtual host for mars.tazmeen.com.au? Currently, it does not exist. In the virtual host that we provide paths to the certificate files.
Currently, the default index page is hosted at this URL:
Thanks for your help.
first listed virtual host
When requesting a certificate from Let's Encrypt with certbot, you would specify multiple names using the -d option
@Vance:
If you are using Apache, then if a request comes in that doesn't match a ServerName or ServerAlias directive, the
configuration will be used. So if you want an existing virtual host configuration to apply for mars.tazmeen.com.au, you can list it as a ServerAlias in that config or, if it's the first one, you can just do nothing. first listed virtual hostWhen requesting a certificate from Let's Encrypt with certbot, you would specify
. multiple names using the -d option
Thanks Vance. All done.
Cheers.