Enable support for PEM

By default a .crt is preferred to the .pem