These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to rebuild default localhost.localdomain SSL certificate? on the new forum.
Hi, how do you rebuild default SSL certificate?
If I go to host's shared IP
https://ip.ip.ip.ip
It shows default certificate with Webmin/Virtualmin installation date
and details such as
"localhost.localdomain, SomeOrganisation"
I've recreated one for Webmin and one Usermin (both self-signed).
It seems this particular one is somewhere here?:
Webmin::Servers::Apache Web Server::Virtual Server, Any, 443, Automatic, /var/www/html::SSL Options
and there is both cert and a key
/etc/pki/tls/certs/localhost.crt
/etc/pki/tls/private/localhost.key
Am I correct?
And if so how do you make a new self-signed cert for it?
Thanks!
Howdy,
The easiest way to generate a self-signed cert would be to pick a Virtual Server you want it enabled for, and to enable the "SSL Website" feature.
That will create a self-signed SSL Certificate.
You can then go into Server Configuration -> Manage SSL Certificates, and choose "Copy to Webmin" (or any of the other services you see listed there) to add the SSL certs to those daemons.
-Eric