Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

How to configure authorize.net certificates

In order to use authorize.net creditcard processing service, you need to import authorize.net site certificates into the keystore you are using. If you havent changed the keystore, the default one should be your jdk\jre\lib\security\cacerts and the default password is changeit.

 Steps

1. Download authorize.net certificates, the certificates will be different if  you are using authorize.net test site vs. production site. One way to download would be to go to the URL in your web browser and export the certificates into files. Make sure  you export all the certificates - at the time of writing authorize.net had a chain of 3 certificates.

2. Import the certificates back into your keystore using keytool -import [certificate_path] -alias [cert_alias] -keystore [path_to_keystore]. After looking at the code the alias for main authorize.net certificate seemed like it had to be AUTHORIZE_NET since thats the string thats used to look up the certificate from keystore. I havent tried using any other name for the alias, but someone probably can and post the results here.

 3. If you need to debug whats going on - you can either change log4j.xml file and add the entry for the base.util package and any other relevant package you want to debug or change debug.properties file under ofbiz and make verbose=true, this will show you the details about certificates reading and checking.

  • No labels