PayPal Express Checkout - 2012 Guía de usuario Pagina 52

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 78
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 51
Obtaining API Credentials
Creating an API Certificate
52 August 7, 2012 Express Checkout Integration Guide
The steps in this task require you to use the OpenSSL encryption tool. On Unix, this tool is
typically installed for you. On Windows, you typically must download OpenSSL yourself; in
this case, accept the defaults when you install OpenSSL and add OpenSSL to the path.
NOTE: In Windows, the Path is a System environment variable, which is accessible from the
Advanced tab when you right-click on your My Computer icon and view its
properties. Do not confuse the System variables path with with the User variables
path. Add OpenSSL to the System variables path.
To encrypt your certificate into PKCS12 format:
1. Use OpenSSL to create the PKCS12-format certificate from the downloaded PEM-format
certificate.
openssl pkcs12 -export -in
download.txt -inkey download.txt -out
certificate.p12
2. At the prompt, enter an Export Password for the certificate.
3. Save your Export Password.
Importing Your Certificate
For either PayPal SDK for .NET or Classic ASP, you must download and execute the
Windows HTTP Services Certificate Configuration Tool, WinHTTPCertCfg. If you use the
.NET platform and develop with the PayPal SDK for .NET, you need to take a few more steps
before your certificate can be used.
You must use WinHTTPCertCfg to import the certificate into the Windows Certificate Store
and grant access to your private key to the user executing your web application. This is a
Windows requirement, not a PayPal requirement. You can download WinHTTPCertCfg from
the Microsoft Windows Server 2003 Resource Kit Tools page
(http://www.microsoft.com/downloads/en/details.aspx?familyid=9d467a6
9-57ff-4ae7-96ee-b18c4790cffd&displaylang=en). For Microsoft documentation,
see
WinHttpCertCfg.exe, a Certificate Configuration Tool.
To import a certificate:
1. Execute WinHTTPCertCfg to import the certificate into the Windows Certificate Store
and grant access to your private key to the party executing your web application.
WinHttpCertCfg -i
certificate.p12 -p privateKeyPassword -c
where
certificate is your PKCS12 certificate and privateKeyPassword is your Export
Password.
Vista de pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 77 78

Comentarios a estos manuales

Sin comentarios