Installing SSL on DA server domain, domain not listed under user

Roberto

Verified User
Joined
Apr 6, 2013
Messages
127
Location
London
I currently have the server using a self-signed SSL certificate, however I have paid for an SSL certificate and need to activate it. With the client domains, I know how to install an SSL, through the domains' user control panel, under Advanced settings where the 'SSL Certificates' option can be found.

My problem is when dealing with the server's domain itself, server.domain.com. When I log in as the server admin and switch to user level, there is no domain listed there, and the message 'No Data to Show' under the domains. Hence there is no Advanced Settings section.

After searching for similar issues others have had, it was suggested that they delete the DNS settings for the domain and then afterwards add the domain. When I click the 'Domain Administration' -> Add Another Domain, I get the error:

"That is the hostname which is reserved. Either change the hostname, or use a different domain"

Note, I had restarted the server prior to this step.

When I paid for the SSL certificate, in order to activate it, I have to provide a CSR code, but can't get to this step right now, as the domain cannot be added.

Any advice would be much appreciated please?

themadguru
 
Hello,

If you want to install SSL cert for a hostname, then you should do that in a root shell (via SSH for example), the files are located here:

/etc/httpd/conf/ssl.key/server.key
/etc/httpd/conf/ssl.crt/server.crt

Please remember to restart apache as soon as you finish with them
 
Alex

Thanks for the advice. my problem now is that because I bought an SSL which requires that I provide a a CSR code; i.e. Create a Certificate Request. How would I generate this CSR code from the prompt? I cannot create the key & certificate from the SSL providers site until I first provide them with the CSR Code. Can this information be gathered from my original self-signed SSL?
 
My paid for SSL certificates have finally been installed yesterday. Just to let anyone know what was done to install SSL certificates on the server hostname...

For installing SSL cert for your hostname edit "/etc/httpd/conf/extra/httpd-vhosts.conf" (or /etc/httpd/conf/httpd.conf with custom apache) file and scroll to the very bottom. You should see 2 virtual host directives. With the one that says <VirtualHost <yourip>:443> you must modify the SSL tags.

Set:

SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key

And if provided with a CA certificate file ADD the following line

SSLCACertificateFile <full path to CA certificate>


-----------------------------------------

My main problem was understanding which of the files the SSL issuer sent me went where, it was confusing. SSL was installed for hostname by editing the following locations:

SSLCertificateFile : /etc/httpd/conf/ssl.crt/server.crt

SSLCertificateKeyFile : /etc/httpd/conf/ssl.key/server.key

SSLCACertificateFile : /etc/httpd/conf/ssl.crt/server.ca
 
Back
Top