Key Exchange
info
Merchant has to provide public key to Finexus.
Finexus will provide Finexus public key and source system to merchant.
Set Up OpenSSL
Step 1 : Download SSL file
Download OpenSSL-1.0.2p.zip
from https://sourceforge.net/projects/openssl-for-windows/files/.
Step 2 : Set configuration and path
Set OPENSSL_CONF
and Path in User Variable for user.
Generate Keypair
- Open command prompt as Administrator.
- Go to the folder to put in key file
(cd E:\..)
- Run the commands below to generate Keypair.
- Private Key
- Public Key
Step 1 : Generate PEM format by RSA
openssl genrsa -out privatekey.pem 2048
Step 2 : Convert PEM to key
openssl rsa -in privatekey.pem -out private.key
Step 1 : Generate publickey.pem
from privatekey.pem
openssl rsa -in privatekey.pem -out publickey.pem -pubout -outform PEM
Step 2 : Generate publickey.key
from privatekey.pem
openssl rsa -in privatekey.pem -pubout > public.key