Command of the Day

Converting P7B to PEM

ClearPass does not work with .p7b certificate that generates by your domain rootCA, so you need to convert certificate to PEM with a cumbersome process of exporting each certificates, opening them in txt, then copy and paste all certificates in the right order to another text file, save in .pem, then import and getting the frustration of “Private Key File does not match the Certificate”

Using openSSL in your Ubuntu or Debian, it is simple, easy, and works everytime.


Root: # openssl pkcs7 -print_certs -in certnew.p7b -out certificate.pem