Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have got the ssl certificate(.crt) from the GoDaddy.

What are the steps to follow to install the SSL certificate to AWS EC2 Linux(Apache 2.2.22) Server?

share|improve this question
Godaddy has extensive documentation on this topic support.godaddy.com/help/article/5346/… –  Iain May 30 '12 at 8:04

1 Answer 1

In order to install a SSL certificate, you should have the following ready,

  • SSL Certificate file
  • Private key (the one that was generated along the CSR)
  • CA Bundle (you can find in GoDaddy's control panel)

If you're running CentOS, make sure you've install mod_ssl module.

# yum install mod_ssl

Place the following in the Apache configuration file,

NameVirtualHost *:443
<VirtualHost *:443>

    ServerName www.example.com
    ServerAdmin admin@example.com

    DocumentRoot /path/to/docroot

    SSLEngine on

    SSLCertificateFile /path/to/example.com.crt
    SSLCertificateKeyFile /path/to/example.com.key
    SSLCACertificateFile /path/to/example.com.ca

    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


Don't forget to create ssl_request_log file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.