Skip to content

Instantly share code, notes, and snippets.

@Sacristan
Last active July 22, 2016 09:48
Show Gist options
  • Save Sacristan/811cd9b391574da5bf10 to your computer and use it in GitHub Desktop.
Save Sacristan/811cd9b391574da5bf10 to your computer and use it in GitHub Desktop.
FDL cert gen
Staging:
1. $ openssl req -sha256 -newkey rsa:2048 -keyout <MerchantID>_key.pem -out <MerchantID>_req.pem -subj "/C=LV/O=www.stockholmhealth.com/OU=Everyday Content International/CN=<MerchantID>" -outform PEM
2. Ielogojamies IBIS un self-sign
3. Iemetam no šiem saņemtos failus (viņi atsūta sertifikātu pirms atbildes, ka atsūtīs sertifikātu) tai pašā mapē, kur key un:
4. $ openssl pkcs12 -export -in <MerchantID>.pem -out <MerchantID>.p12 -certfile ECOMM-test.pem -inkey <MerchantID>_key.pem
5. $ openssl pkcs12 -in <MerchantID>.p12 -out <MerchantID>_keystore.pem
Production:
1. $ openssl req -sha256 -newkey rsa:2048 -keyout <MerchantID>_key.pem -out <MerchantID>_req.pem -subj "/C=LV/O=nordenhealth.com/OU=Everyday Content International/CN=<MerchantID>" -outform PEM
2. Nosūtām <MerchantID>_req.pem failu uz [email protected]
3. Iemetam no šiem saņemtos failus (viņi atsūta sertifikātu pirms atbildes, ka atsūtīs sertifikātu) tai pašā mapē, kur key un:
4. $ openssl pkcs12 -export -in <MerchantID>.pem -out <MerchantID>.p12 -certfile ECOMM.pem -inkey <MerchantID>_key.pem
5. $ openssl pkcs12 -in <MerchantID>.p12 -out <MerchantID>_keystore.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment