I have installed the management scripts on this site, such as phpmyadmin and so on and would like to have it secured by SSL.
I have enabled the SSL feature on the servername.domain.tld virtual site.
But how do I tell the system to use the same SSL certificate, is it even possible?
I also wants to have the :20000 secured by the same SSL certificate because it is still the same FQDN.
I went to the manage certificate area for the virtual site and uploaded the private key and the certificate file I used to the https://servername.domain.tld:10000/ setup, and I can now see that the certificate have been installed.
But when I visit https://servername.domain.tld/ I still get an SSL error and the localhost.domain self signed certificate are listed.
What about the “ssl options” under services -> configure website?
It shouldn’t be more difficult than going into Server Configuration -> Manage SSL Certificate -> New Certificate, and putting the SSL certificate and key into the fields on that screen.
When you’re done – click the “Current Certificate” tab.
When you’re on that screen – what does “Web server hostname” show? If it says “localhost” still, that suggests it may not think it’s using the correct certificate. You may want to double-check what it is you uploaded.
If instead, it shows the right domain, but you aren’t seeing that when browsing to your site – you may just need to restart Apache to get it to recognize your new cert.
When I look into the “Current Certificate” i see the servername.domain.tld certificate.
I just tried to restart the httpd service
/etc/rc.d/init.d/httpd restart
The SSL certificate have been created to use the FQDN glolinweb001.itoverblik.dk and I would like to use it on both sites, so that I can encrypt the other sites related to this FQDN, such as https://glolinweb001.itoverblik.dk/phpmyadmin/ and so on.
Sorry for the delay – I’m not sure what’s going wrong with your setup there. It sounds like what Virtualmin is seeing isn’t in sync with what Apache has setup.
One of the next steps may be to verify that what’s listed in the Apache VirtualHost block is indeed pointing to the correct SSL certificate.
If you like, I can log in and take a look at that for you though.
If you’d like me to do that, what you can do is enable Remote Support using the Virtualmin Support module. Or, just email your login details to eric@virtualmin.com.
Yeah, it looks like some separate SSL definitions are conflicting with what’s defined for “glolinweb001.itoverblik.dk”.
As I went to fix them, some odd configuration problems prevented Apache from starting again. It should have only been down a few seconds though
It’s going to take some tinkering to get it fixed, so I can’t guarantee it won’t happen again – or longer next time. But, I’ll wait until it’s a little later in the day to work on it
No problem, the reason why I noticed it was because I was showing the benefits of Virtualmin to one of my friends
You can begin working again, it is already late Friday so that wont intervene with anyone.