Only .pem certificates can be used in WAF. If the certificate is not in .pem format, convert it into .pem locally by referring to
Table 1 before uploading it.
Table 1 Certificate conversion commandsFormat
|
Conversion Method
|
CER/CRT
|
Rename the cert.crt certificate file to cert.pem.
|
PFX
|
|
P7B
|
- Convert a certificate. For example, run the following command to convert cert.p7b into cert.cer:
openssl pkcs7 -print_certs -in cert.p7b -out cert.cer
- Rename certificate file cert.cer to cert.pem.
|
DER
|
|
- Before running an OpenSSL command, ensure that the OpenSSL tool has been installed on the local host.
- If your local PC runs a Windows operating system, go to the command line interface (CLI) and then run the certificate conversion command.