SSL Cert not secured on Default Host

SYSTEM INFORMATION
OS type and version Ubuntu 20.04.4
Webmin version 1.994
Virtualmin version 7.1-1
Related packages SSL Cert

Hello everyone, just a quick question. I have set up 2 Virtual Servers, one is the default, with the Virtualmin host subdomain, and the second one is my actual domain website. I installed SSL Certs on both of them using Let’sEncrypt, and they both worked, but for some reason on the main website it works fine, but on the Virtualmin host I still get a “Connection is not Secured” message. Any idea why this would be?

image

This is the Cert installed on the Host

the name you requested in Lets Encrypt match the url name?
Also 1922 days until expiry is not Lets Encrypt, normally its 3 months.

Ok, just saw this is self-signed info. Browsers will complain about that.

Steve

Has the domain got SSL enabled? In recent VirtualMin’s you’re able to access and assign SSL certificates even on virtualhosts that do not have SSL turned on. Which has caught us out a number of times. Edit your virtualhost and see if there’s a checkmark on the SSL option there.

Sorry for the late response, crazy day at work. So if you mean under the Features, this is how I have them

Or is there somewhere else I should check?

When I use whynopadlock.com to check the website, I get this errors.

So the issue was a two part.

  1. Even though I set “Force HTTPS” on the main virtualmin config, it did not apply it to the host virtual server, so I had to enable it manually.

  2. I was missing some DNS records and Let’sEncrypt couldn’t resolve all that it needed, after adding a few TXT entries it is working perfect now.

Thank you for your help!

1 Like

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