User Tools

Site Tools


admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:51]
mooeditor
admin_dashboard:system_admin:system_settings:create_sandboxpaypaladaptiveapi [2015/07/29 09:53]
mooeditor [Encrypting your certificate]
Line 129: Line 129:
 The PayPal SDKs for Java, .NET, and Classic ASP require the additional step of encrypting the certificate into PKCS12 format before you can use it with the SDKs. (Note that the PayPal SDK for PHP does not require SSL encryption.) The PayPal SDKs for Java, .NET, and Classic ASP require the additional step of encrypting the certificate into PKCS12 format before you can use it with the SDKs. (Note that the PayPal SDK for PHP does not require SSL encryption.)
  
-**Tip:​** ​ If you do use encryption, be sure to encrypt both your Sandbox and your live API certificates.+**Tip:** If you do use encryption, be sure to encrypt both your Sandbox and your live API certificates.
  
 The steps to encrypt your certificate require the OpenSSL encryption tool. While Unix users likely have this tool installed with their operating system, Windows users need to download OpenSSL. Accept the defaults to install OpenSSL. The steps to encrypt your certificate require the OpenSSL encryption tool. While Unix users likely have this tool installed with their operating system, Windows users need to download OpenSSL. Accept the defaults to install OpenSSL.
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> +<code asp> ''​openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12'' ​ </code>
-''​openssl pkcs12 -export -in cert_key_pem.txt -inkey cert_key_pem.txt -out paypal_cert.p12''​ +
-</prettyprint>+
  
 **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 161: 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:
  
-<prettyprint prettyprinted+<code php
-''​WinHttpCertCfg -i \<​paypal_cert.p12>​ -p \<​privateKeyPassword>​ -c LOCAL_MACHINE\my -a \<​userName>''​ + ''​WinHttpCertCfg -i \<​paypal_cert.p12>​ -p \<​privateKeyPassword>​ -c LOCAL_MACHINE\my -a \<​userName>''​ 
-</prettyprint>+</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.
   * Replace <​privateKeyPassword>​ with the password you used to encrypt the certificate.   * Replace <​privateKeyPassword>​ with the password you used to encrypt the certificate.
admin_dashboard/system_admin/system_settings/create_sandboxpaypaladaptiveapi.txt · Last modified: 2015/08/24 01:12 (external edit)