09-29-2011 10:40 AM
I have implemented the AIM using VB.net. I am testing on local host (x_test_request = false and URL = https://test.authorize.net/gateway/transact.dll) opening the page with HTTP and everything works well when I process a credit card payment (using Net.HttpWebRequest).
The problem comes when I try to do the same from my external server.
I get the following exertion:
System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure……….
I am using self-signed certificate, I have opened the page with HTTP and HTTPS and still get the same exception.
Why does it work on local host and not on external server?
Does authorize.net allow self-signed certificate when testing?
Any help is much appreciated.
09-30-2011 03:25 PM
This error probably indicates that your external server isn't up to date on root SSL certificates. You'll want to talk to the server administrator to make sure that they can recognize the certificates on Authorize.Net.