Thursday, January 3, 2013

Create a SSL Cert, sign by Godaddy.com, install on Apache

  • Login VPS, root@ubuntu:~# openssl req -new -newkey rsa:2048 -nodes -keyout your_domain.key -out your_domain.csr
  • Godaddy.com
    • Product > SSL Cert
      • Basic SSL Cert
      • 3 yrs
    • Add to cart
    • Checkout
    • Payment
    • Account > SSL Cert
      • Setup
      • Launch
    • Current Certificates
      • Credits
        • Refresh
      • Request Certificate
        • Choose 3rd party
        • Paste your_domain.csr content to form
        • submit
  • Wait for email.
  • Download cert from Godaddy.com.
    • Select Apache.
  • Copy your_domain.crt and gd_bundle.crt (the CA's bundle file) to VPS, e.g. /etc/ssl/private/
  • Edit /etc/apache2/sites-available/default.ssl
    • SSLCertificateFile /etc/ssl/private/your_domain_com.crt
    • SSLCertificateKeyFile /etc/ssl/private/private.key
    • SSLCACertificateFile /etc/ssl/private/gd_bundle.crt
  • Restart apache.  $> sudo service apache2 restart
  • Done


References:
http://support.godaddy.com/help/article/5269/generating-a-certificate-signing-request-csr-apache-2x
http://support.godaddy.com/help/article/562/requesting-standard-and-wildcard-ssl-certificates
http://support.godaddy.com/help/article/5238/installing-an-ssl-certificate-in-apache

https://help.ubuntu.com/12.04/serverguide/httpd.html
http://www.geocerts.com/install/apache_2

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.