Generate a private and public key,cer and pfx file using OpenSSL

By | July 1, 2019

1.Download Open SSL

2.To run the commands below, go to the OpenSSL32 directory on your PC, and change to the /bin directory.

3.The basics command line steps to generate a private and public key using OpenSSL are as follows


openssl genrsa -out privatekey.pem 1024

openssl req -new -x509 -key privatekey.pem -out publickey.cer -days 1825

openssl pkcs12 -export -out public_privatekey.pfx -inkey privatekey.pem -in publickey.cer

3 thoughts on “Generate a private and public key,cer and pfx file using OpenSSL

  1. Trending Hairstyles

    It is appropriate time to make a few plans for the long run and it’s time to be happy. I’ve learn this put up and if I could I wish to suggest you few attention-grabbing issues or advice. Perhaps you can write subsequent articles referring to this article. I wish to read more issues about it!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *