Problem description
At present, there are only files apiclient_cert.p12
in the development group, but PHP projects need apiclient_cert.pem
and apiclient_key.pem
as the certificate of refund operation
After WeChat payment document at https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?Chapter = command in 4_3
openssl pkcs12 -nocerts -in apiclient_cert.p12 -out apiclient_key.pem
After the operation, the exported file should not only enter the merchant ID as the password, but also set the password
And after importing the project, the project reports an error cURL error 58
The solution
The exported command is corrected to
openssl pkcs12 -nodes -clcerts -in apiclient_cert.p12 -out apiclient_key.pem
Read More:
- Use mujoco = = 0.5.7 to run the code and report error: invalid activation key
- FTP use get command 550 failed to open file, but use the put command to solve the problem
- Ambari OpenSSL version problem: sslerror: failed to connect. Please check OpenSSL library versions
- Use sc command under CMD, report openservice failed 1060 error
- Reset local git account and generate secret key
- Python Report OpenSSL.SSL.SysCallError (10054 WSAECONRESET)
- Solution to the exception of PEM file logging in EC2
- [JS] use date. Now(). Tostring() to generate serial number
- Failed to decrypt protected XML node “DTS:Password” with error 0x8009000B “Key not valid for use in …
- VC + + OpenGL is used as the development platform to design the program, which can generate any pixel on the screen, and use the pixel to draw the basic graphics
- How to generate lib library with keil MDK and use lib Library
- How to Use Apt get Command Under Mac OSX
- Use keil software to report syntax error near ‘;
- SSHD key_read error report solution
- Create vue-cli4 project and report error command failed: yarn
- Use less.js to verify and report an error in the Vue file of vscode
- Create Vue cli project and report error command failed: Yarn
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- After editing a file with the VIM command in xshell, the ESC key cannot be output,,,
- openssl TXT_DB error number 2 failed to update database