Good day,

It is necessary to generate keys for the payment system, the fact is that I don’t even know how to do it.

A colleague who knows how to do it, said that it needs to be done through openssl and dropped the following parameters

openssl genpkey -algorithm RSA -out private_key.pem -pkeyopt rsa_keygen_bits:2048 openssl rsa -pubout -in private_key.pem -out public_key.pem 

I use windows, do I understand correctly that I need to download openssl and then run these commands in the console, which will generate 2 files for me.

Well, I downloaded openssl, went to the console, and nothing works. Can anyone help write step by step what should i do? And how much I would not google, did not become clearer.

I understand that you need to identify openssl in the console?

  • He gave you commands for the linux console. - KAGG Design
  • Well under windows openssl works similarly. And what is "not working" he should give some kind of error. If it does not find the openssl utility itself, then it is not in your paths and you need to do this in the folder where openssl is installed or explicitly specify the path to it - Mike
  • Displays the error 'openssl' is invalid command - Alexander Reizan

0