Invalid ssl warning

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.621
Usermin version 2.521
Virtualmin version 8.0.1 GPL
Theme version 26.22
Nginx version 1.24.0
Package updates All installed packages are up to date

been getting this warning for a while and cannot ignore it any more

the named VS simply does not exist on this VM
it is the host name just like example.domain.tld so of course it does not exist. the VS that are on this VM all have valid SSL so the question:
how do i eliminate this errant warning?

1 Like

Maybe that is the _default that is created during Virtualmin install?

Not sure how to manage renewing the cert, I’m sure someone knowledgeable about it will respond soon

that is a concern. the VM has been operational since 01/2025 without any serious hitch. i think this may have popped up since v8 - though uncertain

Is domain.tld on the server or just not example.domain.tld ?
Is example.domain.tld listed here?

The _default does no harm

https://forum.virtualmin.com/t/default-hostname-virtual-servers-beeing-created-when-adding-my-domain/132205/4

just tried a change to the hostname and a reboot - no joy - still lists the original example.domain.tld

no it is listed nowhere other than the warning message and is/was the hostname so i think @CTS is correct it is this _default thing again.

the warning is very hard to ignore as it implies an actual VS has a missing SSL.

So it is not in your Apache config?

it is Nginx - so there should be no Apache
however, you are pointing in the right direction - there is a \etc\nginx\example.domain.tld.conf :zombie:

must have been created by Webmin/Virtualmin - certainly not by me.

however deleting this .conf and restarting nginx does not solve that horrible message!

Grep all configs for the domain and also the etc folder and see where else it is hiding

Re-running config check should fix it.


no it is still there.

and grep did not reveal anything. the system still seems to want a ssl that has no actual VS

If you run virtualmin list-domains, does it show that unexpected domain?

Virtualmin Virtual Servers only lists those i would expect. not the hostname masquerading as a VS

Then if you click the force-refresh button in the top-right corner of the Dashboard and wait a few moments, does the message disappear?

no change,
even tried a re-boot cycle again (but now something else has gone wrong) - possibly due to one of those earlier attepts.

ok a lot of digging trying to find why SSH server would not stat revealed the cause/remedy Dovecot also had an errant reference to the certificate.
removing it got rid of the message :+1:
but the SSH still does not start :-1: (will need more work)

I should note that Virtualmin doesn’t touch ssh, so if there’s a problem starting ssh, it’s not related to Virtualmin.

thanks, still investigating - it points to something i did as part of fixing the initial problem. i’m trying to wind the clock back (hopefully without reintroducing the original problem)

I think I found the bug that caused it. Try applying the following patch to see if it fixes the issue for you:

webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/2fab9c5