This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi [2015/07/29 09:52] mooeditor [Encrypting your certificate] |
admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi [2015/07/29 09:53] mooeditor [Encrypting your certificate] |
||
---|---|---|---|
Line 145: | Line 145: | ||
Change directories to the location of the certificate you want to encrypt (''cert_key_pem.txt'') and execute the following command: | Change directories to the location of the certificate you want to encrypt (''cert_key_pem.txt'') and execute the following command: | ||
- | <prettyprint prettyprinted> ''openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12'' </prettyprint> | + | <code asp> ''openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12'' </code> |
**Note:** When encrypting a certificate, you’re prompted for a password that you use to decrypt the file. Enter a password at the **Enter Export Password** prompt and be sure to store it in a secure location. | **Note:** When encrypting a certificate, you’re prompted for a password that you use to decrypt the file. Enter a password at the **Enter Export Password** prompt and be sure to store it in a secure location. | ||
Line 159: | Line 159: | ||
To use the utility, you need Administrator rights. Enter the following command at a command prompt, and make the appropriate replacements as described below: | To use the utility, you need Administrator rights. Enter the following command at a command prompt, and make the appropriate replacements as described below: | ||
- | <code php> ''WinHttpCertCfg -i \<paypal_cert.p12> -p \<privateKeyPassword> -c LOCAL_MACHINE\my -a \<userName>'' </code> | + | <code php> |
+ | ''WinHttpCertCfg -i \<paypal_cert.p12> -p \<privateKeyPassword> -c LOCAL_MACHINE\my -a \<userName>'' | ||
+ | </code> | ||
* Replace <paypal_cert.p12> with the name of PKCS12 Encrypted API Certificate you previously generated. | * Replace <paypal_cert.p12> with the name of PKCS12 Encrypted API Certificate you previously generated. |