Для подключения онлайн оплаты необходимо сгенерировать два ключа в OpenSSL. Инструкция на англ ниже

1) To generate a new RSA key should be used the OpenSSL utility.The command for key generation is as follows.

openssl genrsa -f4 -out key.pem 2048

Where the parameter specifies the open-f4 exponent equal to 63 537. May be omitted.

Parameter-out key.pem specifies the output file name and the last parameter specifies the key length in bits.

The successful execution of the command creates the file key.pem

Formed file contains the value of the secret part of the RSA key, and should not be transmitted in the

clear. With this key (private parts) Merchant system should create a digital signature (P_SIGN).

2) To create a public key for e-gateway system, merchant must execute the command:

openssl rsa -pubout -in key.pem -out pubkey.pem

5 лет назад
mixfightpride
Артур 
32 года
11 лет в сервисе
Был
2 месяца назад

Заявки фрилансеров

Нет заявок фрилансеров