Change the order of certificates.

My cert should come before intermediate CA for nginx to work.