Having issues creating an SSL enabled sub-domain when using Let's Encrypt
If you have a parent domain that is SSL enabled with a Let's Encrypt certificate you may get the following error if you try to enable SSL on a subdomain. Especially if the sub-domain doesn't share the parent domain's domain name.
Adding new SSL virtual website ..
.. certificate file is not valid : Data starts with , but expected -----BEGIN CERTIFICATE-----
If this occurs do the following
- Go to the parent domain in the dropdown at the top of the left menu bar.
- Once the parent domain is loaded select "Server Configuration".
- Within the Server Configuration sub-menu select "SSL Certificate".
- Go to the "Let's Encrypt" tab.
- Select "Domain names listed here" making sure that the domains in the "Domains Associated with this server" are listed then...
- Add the sub-domain you are trying to enable to the list.
- Click "Request Certificate".
- Waiting until completed. It may take some time depending upon how many domains you have in the list.
- Now go to you sub-domain and enable SSL.
Was this answer helpful?
Adding email addresses with Virtualmin is very easy and can be completed in a few simple steps....
Backing up your account is an important task. While we do backup daily all accounts and...
Installing ImpressPages via Virtualmin is very easy. This articles show you how. If you would...
Installing Wordpress via Virtualmin is very easy. This articles show you how. If you would prefer...
You can change your password in two places. Firstly you can change it for your main account and...