Extend Sheriff Framework.
Click the Browse button to upload your custom web server SSL certificate and private key files in PEM (Privacy Enhanced Mail) format:
Important: Make sure that your certificate file includes both the "begin" and "end" lines.
.pfx
or .p12.
If your certificate is not in the PEM format, you can use OpenSSL to convert it. OpenSSL is installed on Sheriff CSM by default. The following procedure illustrates how to convert a certificate from PFX to PEM format using Sheriff CSM.
To convert your certificate to the PEM format Obtain a certificate from your CA.
Upload your certificate file to Sheriff CSM.
Note: For example, Linux and macOS users can use the scp
command while Windows users can use a program called WinSCP.
Connect to the Sheriff Console through SSH
and use your credentials to log in.
Generate the following files:
Certificate:
openssl pkcs12 -nokeys -nodes -in certificate.pfx -out av_certificate.pem
Private key:
openssl pkcs12 -nocerts -nodes -in certificate.pfx -out av_private_key.pem
CA certificate chain (optional):
openssl pkcs12 -cacerts -nokeys -in certificate.pfx -out av_ca_certificate_chain.pem
Edit the files to remove any extra lines. You can use vim or nano as editors.
Note: Certificate files have -----BEGIN CERTIFICATE------ and ------END CERTIFICATE------ while private key files have ------BEGIN PRIVATE KEY------ and ------END PRIVATE KEY------ surrounding the content. You need to remove any extra lines above or below these texts.
Download the new certificate files to your desktop.
Log into the Sheriff CSM web UI and go to Configuration > Administration > Main.
If you have configured a certificate in the past, click Remove to delete the old certificate, and then Update Configuration to apply the changes.
Allow 2-5 minutes for reconfiguration to run in the background. After the web browser refreshes, you may receive a warning about custom self-signed certificate in use. You can ignore this message.
Verify that the new certificate is installed and ready to be used.