Support for a certificate in DER format

Adds support for a certificate in binary DER format. Replaces the `certificate.cer` fixture with `certificate.pem`, since it was in a `pem` format. 

*note: The `certificate.der` is the `Base64` encoded `certificate.pem`.*