Geotrust concatenate the SSL certificate file to pem

  • Posted November 11, 2014

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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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;