SSL certificate has to be uploaded in SiteWALL WAF configuration for scanning and blocking SSL based attacks. SiteWALL support's certificate import in .pem format.
Follow the below process to convert your SSL certificates format from .pfx to .pem
1) Download Win32 OpenSSL package for windows --> Link
2) Install the downloaded package in your pc by double clicking on it and complete the installation.
3) Create a folder c:\certs and copy the file SSL certificate yourcert.pfx into the folder c:\certs
4) Open Run in the start menu and enter CMD to open the Command prompt
5) Move to openssl\bin directory by executing the following command --> cd %homedrive%\OpenSSL\bin
6) Execute the following command to convert your certificate into .pem format -->
openssl pkcs12 -in c:\certs\yourcert.pfx -out c:\certs\yourcert.pem –nodes
Eg: assuming your certificate filename is mycert.pfx:
openssl pkcs12 -in C:\cert\mycert.pfx -out C:\cert\mycert.pem -nodes
It will prompt you to Enter your pass phrase. Pls enter the same.
Execute the below 4 commands to generate rootcert.pem, cacert.pem and plain_key.pem
openssl pkcs12 -in yourfile.pfx -cacerts -nokeys -out rootcert.pem (This will generate rootcert.pem)
openssl pkcs12 -in yourfile.pfx -clcerts -nokeys -out cacert.pem (This will generate cacert.
openssl pkcs12 -in yourfile.pfx -nocerts -out privatekey.pem (This will generate the privatekey)
openssl rsa -in privatekey.pem -out plain_key.pem (This will convert privatekey into plain text)
Upload the certificate files (rootcert.pem, cacert.pem and plain_key.pem) in SiteWALL Management Portal by clicking on Configuration --> Certificates --> Add Certificate button. Refer the KB on
How to upload Certificate.