openssl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openssl [2014/05/22 21:08] – skipidar | openssl [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Openssl ===== | ||
+ | === Generating a private public key pair === | ||
+ | < | ||
+ | openssl genrsa -out d: | ||
+ | openssl req -new -x509 -key d: | ||
+ | openssl pkcs12 -export -out d: | ||
+ | openssl req -key d: | ||
+ | openssl x509 -req -days 7000 -in d: | ||
+ | </ | ||
+ | |||
+ | |||
+ | Amazon AWS requires a **signed** public key. THe toolkit mostly uses **.pem** files. | ||
+ | |||
+ | * Step 1: generates a private key | ||
+ | * Step 2: creates a X509 certificate (.cer file) containing your public key which you upload when registering your private application (or upgrading to a partner application). | ||
+ | * Step 3: Export your x509 certificate and private key to a pfx file. If your chosen wrapper library uses the .pem file to sign requests then this step is not required. | ||
+ | * Step 4: convert the private key to a .csr file | ||
+ | * Step 5: convert the private key in the .csr format to a .pem file and **signing** it with the private key. \\ Signing is required for AWS to accept the public key |