SSL certificate I've had configured for a website hosted in a an nginx server has been expired. I'm trying to renew it. (my CA is godaddy) And I followed (https://www.godaddy.com/help/renewing-your-ssl-certificate-864) to get the renewed files. Now I've two crt files (ffexxxxxxx.crt and gd_bundle-g2-g1.crt) Given below is my nginx conf file.
ssl_certificate ssl/bundle.crt;
ssl_certificate_key ssl/websitename_private-key.pem;
ssl_ciphers ECDH+AESGCM:ECDH+AES256:ECDH+AES128:DH+3DES:RSA+3DES:RC4:HIGH:!ADH:!AECDH:!MD5;
My Question is how can I generate a bundle.crt out of the new crt files that I've received when renewing (As I understand there is no need to generate private-key.pem again. Please correct me if I'm wrong)
P.S:- My certification authority is godaddy
Best Answer
There is nothing special about a bundle certificate, it is a plain text file with one public key after another, either use your favorite editor or concatenate the files:
The result will be something like this: