# Using chain certificates with Nginx

- **Author:** Viktor Petersson
- **Published:** 2014-08-20
- **Reading time:** 1 min read
- **Tags:** Namecheap, Nginx, DevOps, Note-to-Self

I’m a big fan of [Namecheap](http://namecheap.com). They offer cheap SSL certificates that does the trick just fine. For most my projects, I go for their cheapest option (usually ‘PossitiveSSL’).

Every time I deploy one of these certificates however, I screw up the order of the chain certificates. The tl;dr is that certificate should go first, and then the supporting chain certificates.

After extracting the zip-file you get from Namecheap, simply run this command to create your certificate:

    $ cat STAR_*.crt AddTrust*.crt COMODORS*.crt  > foobar.com.crt

---

Source: https://vpetersson.com/2014/08/20/using-chain-certificates-with-nginx/
