Forum Discussion

Ahmadj_283318's avatar
Ahmadj_283318
Icon for Nimbostratus rankNimbostratus
May 08, 2018

export PFX cert

Hi

 

We have BIG IP 12.1.2 Build 0.0.249 Final

 

How can I export the certificate which is applied on VS as PFX with the private key?

 

5 Replies

  • Hi Ahmad,

     

    • Connect to F5 using CLI.
    • create a temp file in /var/tmp
    • copy your cert and your key from F5 (pem format) and past it in your tmp folder.
    • then enter the following command.
    • If you don't have a chain/root your can remove "-certfile chain.crt"

    openssl pkcs12 -export -inkey cert.key -in cert.crt -certfile chain.crt -out cert.pfx

     

    Then use winscp in order to retrieve your pfx.

     

    Regards

     

  • Step details are mentioned below: Export a certificate with key from F5.

     

    Please follow this procedure and run the following command line on the F5:

     

    openssl pkcs12 -export -in /path/to/ssl-cert.crt -inkey /path/to/private.key -certfile /path/to/intermediate-ca.crt -out cert-export.pfx

     

    This will create a file on the F5 called filename.pfx.

     

  • Step details are mentioned below: Export a certificate with key from F5.

     

    Please follow this procedure and run the following command line on the F5:

     

    openssl pkcs12 -export -in /path/to/ssl-cert.crt -inkey /path/to/private.key -certfile /path/to/intermediate-ca.crt -out cert-export.pfx

     

    This will create a file on the F5 called filename.pfx.