首页 > 代码库 > PayPal加密证书.pem的生成
PayPal加密证书.pem的生成
How do I create a public certificate for use with PayPal Encrypted Website Payments?
Before you can use Encrypted Website Payments, PayPal requires that you upload your public certificate to verify the authenticity of the encrypted code. PayPal recommends using OpenSSL to create your public certificate.
OpenSSL is freely available at openssl.org. If you‘re using Windows, download the Win32 version of OpenSSL. Once you‘ve downloaded OpenSSL and added it to your PATH, the certificate generation is a two-step process:
OpenSSL is freely available at openssl.org. If you‘re using Windows, download the Win32 version of OpenSSL. Once you‘ve downloaded OpenSSL and added it to your PATH, the certificate generation is a two-step process:
- Create your private key. The OpenSSL command for doing this is
openssl genrsa -out my-private-key.pem 1024
(replace my-private-key.pem with whatever you want to name your private key). - Create your public certificate. The OpenSSL command for doing this is
openssl req -new -key my-private-key.pem -x509 -days 365 -out my-public-certificate.pem
(replace my-public-certificate.pem with whatever you want to name your public certificate).
PayPal加密证书.pem的生成
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。