Add a GoDaddy SSL certificate to your website

Add a GoDaddy SSL certificate to your website

·

1 min read

  • Download the SSL certificate for Nginx (or other) server type and save it

  • It will have the following files:

    • 536216f4c875d312.crt

    • 536216f4c875d312.pem

    • gd_bundle-g2-g1.crt

  • Generate a chain file using the following command:

cat 536216f4c875d312.crt gd_bundle-g2-g1.crt >> my_chain.crt
  • Add the following server block to your Nginx files
# added SSL certificates of Godaddy
# iconv -c -f UTF8 -t ASCII  generated-private.key >> generated-private.key use this command if
# you face any issue with the key file while restarting the nginx
ssl_certificate /etc/ssl/domain.com/my_chain.crt;
ssl_certificate_key /etc/ssl/domain.com/generated-private.key;