in reply to Re^2: Difference between curl and Net;;SSLeay for getting the SSL connection
in thread Difference between curl and Net;;SSLeay for getting the SSL connection
I was getiint the following errorsPlease read the Crypt::SSLeay documentation.
1.Not proxied and
Don't use LWP's env_proxy method, it doesn't work properly in all situations with HTTPS. Set the HTTPS_PROXY variable in the environment, Crypt::SSLeay will pick up on it and use the appropriate arguments to the SSL connect() method. You may also need to set the HTTPS_PROXY_USERNAME and HTTPS_PROXY_PASSWORD variables (if the proxy requires basic authentication).
2.peer certificate is not varifiedSo does the server require peer certificate authentication or not?
And fact is that Client is saying that if you are having SSL implementation to connect to thier gateway it will not ask for certificae.
If it does, you'll need to set the HTTPS_CERT_FILE and HTTPS_KEY_FILE environment variables, so that Crypt::SSLeay will know where to look for those files.
Can you please look at the following code.I have no idea what you're doing with all that header manipulation... can I presume that the payment gateway documentation prescribes those actions?
-David
|
|---|