Install SSL certificate in Apache

Hi Experts,

I am trying to install a SSL certificate generated from GoDaddy to the site hosted on an Apache server.

The site has pre-enabled self-signed certificate. The configuration done is under default-ssl file.

I have received two .crt files from GoDaddy. I commented the lines for self-signed certificate and tried adding the path of the GoDaddy certificates under CA certificate section of default-ssl file. Web server refused to start after these changes.

Documentation on GoDaddy site is not in depth. Can anyone tell me what is wrong with the configuration?

Can anyone help me with how to install this certificate?

Thank you in advance for all your help.

Best Regards
Raghav.
LVL 7
RaghavIT SpecialistAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
shalomcConnect With a Mentor CTOCommented:
> Please not that i have not created a request from within an Apache server

For SSL to work, you need 3 files:
The private key file that was used to create the CSR (certificate signing request). You must get it from whoever created the CSR, This file goes here: SSLCertificateKeyFile
The signed SSL certificate from Godaddy. This file goes here: SSLCertificateFile
Godaddy intermediate CA chain. This file goes here: SSLCertificateChainFile  
0
 
RaghavIT SpecialistAuthor Commented:
Thanks for your reply. This is still confusing.

My apache resides under /etc/apache2. Config file is default-ssl under /etc/apache2/sites-available.

Can you give me a step-by-step guidance to do this?.

My SSL certificate from GoDaddy is a wild card certificate and contains only two .crt files.

Please not that i have not created a request from within an Apache server, rather i downloaded the certificate for *.mydomain.com site (and for Apache)

Thanks

Best Regards
Raghav.
0
All Courses

From novice to tech pro — start learning today.