Created
September 22, 2014 06:44
-
-
Save Epigene/ca5039d95535a644bab6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========== SSL certs for FDL ========== | |
Staging: | |
1. $ openssl req -sha1 -newkey rsa:2048 -keyout 1216308_key.pem -out 1216308_req.pem -subj "/C=LV/O=www.stockholmhealth.com/CN=1216308" -outform PEM -config openssl.cnf | |
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 1216308.pem -out 1216308.p12 -certfile ECOMM.pem -inkey 1216308_key.pem | |
5. $ openssl pkcs12 -in 1216308.p12 -out 1216308_keystore.pem | |
Production: | |
1. $ openssl req -sha1 -newkey rsa:2048 -keyout 1216308_key.pem -out 1216308_req.pem -subj "/C=LV/O=nordenhealth.com/CN=1216308" -outform PEM -config openssl.cnf | |
2. Nosūtām 1216308_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 1216308.pem -out 1216308.p12 -certfile ECOMM.pem -inkey 1216308_key.pem | |
5. $ openssl pkcs12 -in 1216308.p12 -out 1216308_keystore.pem | |
OR | |
========== OpenSSL ========== | |
1. Ģenerē privāto (un publisko atslēgu) $ openssl genrsa -out keyfile.pem 1024 | |
1_1. $ openssl rsa -in keyfile.pem -pubout -out publickey.txt | |
2. Ģenerē pieprasījumu $ openssl req -new -out request.pem -key keyfile.pem | |
2_1. Ievadi uzņēmuma datus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment