I have uploaded (imported) the root and intermediate certificates and CRL (Certificate Revocation List) files to PAM. However, when I tried to upload the Server Certificate I always get "CRL has expired" error message.
This error is due to wrong format of CRL (Certification Revocation List) file. You need to convert the CRL file from DER (binary) to PEM (ASCII Base64) format and re-upload.
Here are the steps how you can convert the CRL file format from DER to PEM and re-upload.
1. Open your CRL file using a Text Editor and check if it is binary or ASCII format. If you CRL file is ASCII format you should see the following as the top line. If no then your CRL file is DER format. If your CRL file is DER format then go to next step.
-----BEGIN X509 CRL-----
2. Install OpenSSL on your machine and run the following command to convert.
openssl crl -in abc.crl -inform DER -out abc_pem.crl
In above example command the original abc.crl is the CRL file in DER format. The command output will be abc_pem.crl which is PEM format.
3. Now, you can go to Config > Security > Upload Certificate or Private Key, select Certificate Revocation List as Type and upload the converted abc_pem.crl (PEM format) to PAM and delete the previously uploaded abc.crl (DER) format if it had been uploaded.
4. And then you can upload the Server Certificate again.