Stefan
I'm trying to configure the ESB to poll a mailserver. If I'm using gmail as
mailserver, the secured connection is made "transparantly", i.e. I do not
have to create a keystore. Polling and sending emails with gmail works, but
now I would like to test with an internal mailserver.
When connecting to this internal server, I'm receiving a "PKIX path building
failed" exception. I think that this could be solved by creating a keystore
and importing the required SSL certificate into the keystore.
For the https transportSender, the keystore to be used can be defined in the
keystore and trustStore parameters.

How can I specify the keystore to be used in the definition of my proxy and
in the definition of the mailto transportSender ?
The default mail listener on the axis2.xml we ship states:

<transportReceiver name="mailto" class="org.apache.synapse.transport.mail.MailTransportListener">
       <!-- configure any optional POP3/IMAP properties
check com.sun.mail.pop3 and com.sun.mail.imap package documentation for more details-->
   </transportReceiver>

Hope this will help

asankha

--
Asankha C. Perera

WSO2 - http://wso2.org
http://esbmagic.blogspot.com

_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to