Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

IMAP(SSL) self-signed certificat auto accepted

$
0
0
Hello,

I tried to configure camel-mail to automatically accept self-signed
certificates.
- Definition of a SoketFactory and TrustManager that verifies nothing.
- Passage of the parameter SoketFactory my route with :
mail.imap.socketFactory.class
(also tried with mail.imaps.socketFactory.class and
mail.imap.ssl.socketFactory.class.

Apparently, Camel created the route but at first pooling camel throw an
exception that says it seeks the certificate.
(I think it uses the socket factory default and not mine).

An idea ... please help me !

Thanks a lot.

Viewing all articles
Browse latest Browse all 5648

Trending Articles