Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

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.

Wiki Markup2. 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.