
Obtaining API Credentials
Importing Your Certificate
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. 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.
2. Using WinHTTPCertCfg, change the username in LOCAL_MACHINE\My -a
username to one of the following values:
TABLE A.1
Configuration Username value
ASP. NET ASPNET
Windows IIS 5 default
configuration
IWAM_machineName, where machineName is the computer
name
Windows IIS 6 default
configuration
“NETWORK SERVICE” (You must include the quote
marks.)
Komentarze do niniejszej Instrukcji