Export the certificate the right way

Verify the certificate by yourself using openssl.

$ openssl verify cert.pem