"Curl failed with error #58: could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?) "
Even i added production pem files , it doesn't work !
Solved! Go to Solution
Hey @zinminthu,
You mentioned that you've added production pem files and it doesn't work, if you are a production client then we have a dedicated support staff to assist you, please reach out to developer@visa.com. I think we received the same question from you via email at developer@visa.com too.
To resolve the curl error issue, can you check if you have “openssl-pkcs11 (aka engine_pkcs11} package installed?
Also, instead of using the “relative path” can you try using the “absolute path” for the certificates?
You should also try using our sample codes since they will be a helpful guide for you. To access sample code, login to your Visa Developer account and from your dashboard go to your project app and on the left side tab click on Sample Code. Sample Code will be available for download from there.