Friday, April 3, 2020

OpenSSL

From where we can download openssl

-> https://sourceforge.net/projects/openssl/

To Convert *.crt to *.pfx we need Private key

Command: openssl pkcs12 -export -out certificate.pfx -inkey generated-private-key.key -in certificate.crt

When i executed above command, it return with below errors
  1.  unable to write 'random word'
    1. i resolved it by command : set randfile=.rnd
  2.  :Expecting: ANY PRIVATE KEY
    1. I resolved it by save as generated-private-key.key file Encoding with ANSI instead of UTF-8
 

No comments:

Post a Comment