Gateway Processing Error

rvhost

Guppy
I am using an emulated authorize.net aim payment gateway. Everything seems to be setup normal but here is the error I get:

connect error, Received fatal alert: bad_record_mac

I guess this may have to do with SSL connection?

This is in the HSphere control panel when trying to process a test account with test credit card. I know the gateway and test credit card works because i've tried it in other applications.

I have changed the url and gateway it posts to but the script is the same.

secure.quantumgateway.com
443
/cgi/authnet_aim.php


Any ideas?
 
I talked to the support of my gateway. They say JRE on the server is not supporting SSLv3 connections. For them to keep PCI DSS compliant, they can not allow even the highest SSLv2 anymore. Only SSLv3 protocol is allowed).

Why don't we have a new version of JRE with SSLv3 support.

Can I get someone from JodoHost to speak to this issue for clarity?

They also gave me code to use if updating JRE doesn't work:

Try adjusting the protocols in SSLSocket.setEnabledProtocols.

1. In a custom SecureProtocolSocketFactory add:

((SSLSocket)socket).setEnabledProtocols(new String[] {"SSLv3"});
((SSLSocket)socket).setUseClientMode(true);

or

2. look for these lines in the file that does the connection to Quantum servers:

SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(
HTTPS_SERVER.substring("https://".length()), 443);
// socket.setEnabledProtocols(new String[] {
// "SSLv3"
// });
socket.startHandshake();

and uncomment the commented lines; you will have something like this:

SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(
HTTPS_SERVER.substring("https://".length()), 443);
socket.setEnabledProtocols(new String[] {
"SSLv3"
});
socket.startHandshake();
 
Back
Top