Skip to main content

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

  1. Open command prompt as Administrator.
  2. Go to the folder to put in key file (cd E:\..)
  3. Run the commands below to generate Keypair.

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