Geotrust concatenate the SSL certificate file to pem

November 11, 2014 3.6k views

I am trying to concatenate an Geotrust certificate to an pem file. Geotrusts instructions are totally unclear and way off. Has anyone had experience with concatenating a Geotrust ssl for nginx?

1 Answer

Generally, the order goes like this:

  1. Your certificate
  2. The intermediate certificate(s)
  3. The root certificate

First, download the necessary certificates from GeoTrust and upload your certificate to your droplet:


( is hosted by me, but you can grab the certificate yourself here if you want to (GeoTrust DV SSL CA - G4))

Then, concatenate them into one file:

cat /path/to/your/certificate GeoTrust-DV-SSL-CA---G4.pem GeoTrust_Global_CA.pem > yoursite.crt

Your nginx config would look like this:

server {
    listen 443 ssl;
    ssl_certificate /path/to/yoursite.crt;
  • Thank you for the info. I didn't figure how out to concatenate the certificate myself. I ended up having namechaep support do it for me. Everything is working well.

Have another answer? Share your knowledge.