// The .pem file can include the server certificate, the intermediate certificate and the private key in a single file.
// The server certificate and intermediate certificate can also be in a separate .crt or .cer file. The private key can be in a .key file.
// PKCS#7 Format
// The PKCS#7 certificate uses Base64 ASCII encoding with file extension .p7b or .p7c. Only certificates can be stored in this format, not private keys. The P7B certificates are contained between the "-----BEGIN PKCS7-----" and "-----END PKCS7-----" statements.
// DER Format
// The DER certificates are in binary form, contained in .der or .cer files. These certificates are mainly used in Java-based web servers.
// PKCS#12 Format
// The PKCS#12 certificates are in binary form, contained in .pfx or .p12 files.
// The PKCS#12 can store the server certificate, the intermediate certificate and the private key in a single .pfx file with password protection.