How to convert SSL certificat .CRT to PK12 for the IIS server

Hi All,

can you support please

we have certificat on BIGIP .CRT and we need to convert it PK12 for to setup it on IIS server

thank you in advance all

Br,

-Convert a PEM certificate file and a private key to PKCS12 (.pfx .p12):

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

-Convert a PEM certificate file and a private key to PKCS12 (.pfx .p12):

openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt

Hi Shaggy tahank you for you promt reply my certificat is .CER and .CRT [root@Big-Ip2:Active:In Sync] myssl openssl pkcs12 -export -out cer.pfx -inkey privateKey.key -in cert.crt -certfile CACert.crt Error opening input file cert.crt cert.crt: No such file or directory [root@Big-Ip2:Active:In Sync] myssl openssl pkcs12 -export -out cer.pfx -inkey privateKey.key -in cert.cer -certfile CACert.cer Error opening private key privateKey.key 46942426356864:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen(‘privateKey.key’,‘r’) 46942426356864:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load private key [root@Big-Ip2:Active:In Sync] myssl thank you

Hi Shaggy tahank you for you promt reply my certificat is .CER and .CRT [root@Big-Ip2:Active:In Sync] myssl openssl pkcs12 -export -out cer.pfx -inkey privateKey.key -in cert.crt -certfile CACert.crt Error opening input file cert.crt cert.crt: No such file or directory [root@Big-Ip2:Active:In Sync] myssl openssl pkcs12 -export -out cer.pfx -inkey privateKey.key -in cert.cer -certfile CACert.cer Error opening private key privateKey.key 46942426356864:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen(‘privateKey.key’,‘r’) 46942426356864:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load private key [root@Big-Ip2:Active:In Sync] myssl thank you

How About this command https://flinchbot.wordpress.com/2008/04/02/exporting-ssl-certificates-from-an-f5-to-iis/ Openssl pkcs12 -export -out file.p12 -inkey /config/ssl/ssl.key/.keyconfig/ssl/ssl.crt/.crt

How About this command https://flinchbot.wordpress.com/2008/04/02/exporting-ssl-certificates-from-an-f5-to-iis/ Openssl pkcs12 -export -out file.p12 -inkey /config/ssl/ssl.key/.keyconfig/ssl/ssl.crt/.crt

i think the error is about key file (privateKey.key) rather than the command.

i think the error is about key file (privateKey.key) rather than the command.

hi All, I would want to thank you for your suppor

hi All, I would want to thank you for your suppor