I have a server that uses a servlet to send a message via HTTPS to an authorize.net gateway. The server SSL works find, however the client side is being rejected with a "javax.net.ssl.SSLException: untrusted server cert chain" message.
What do I need to configure for the client servlet to work with SSL? Do I need to create another keystore? What certificates to I need to import? Does it matter what aliases I use?