+Dev On Mon, Nov 20, 2017 at 11:07 PM, Inthirakumaaran Tharmakulasingham < inthirakumaa...@wso2.com> wrote:
> Hi Isham, > > Did you add proper certificates to Java keystore? ( $JAVA_HOME/ > jre/lib/security/cacerts).If you want you can run your server with > "-Djavax.net.debug=all" see more about your problem.Hope this could help :) > > regards, > kumar > > > On Mon, Nov 20, 2017 at 5:50 PM, Isham Mohamed <is...@wso2.com> wrote: > >> Hi All, >> This is regarding configuring email publisher of the wso2das3.1.0 >> I configured output-event-adapter.xml as bellow >> >> * <adapterConfig type="email">* >> * <!-- Comment mail.smtp.user and mail.smtp.password properties to >> support connecting SMTP servers which use trust* >> * based authentication rather username/password authentication -->* >> * <property key="mail.smtp.from">no-re...@wso2.com >> <no-re...@wso2.com></property>* >> * <property key="mail.smtp.user">[username]</property>* >> * <property key="mail.smtp.password">[password]</property>* >> * <property key="mail.smtp.host">tygra.wso2.com >> <http://tygra.wso2.com></property>* >> * <property key="mail.smtp.port">25</property>* >> * <property key="mail.smtp.starttls.enable">true</property>* >> * <property key="mail.smtp.auth">true</property>* >> * <!-- Thread Pool Related Properties -->* >> * <property key="minThread">8</property>* >> * <property key="maxThread">100</property>* >> * <property key="keepAliveTimeInMillis">20000</property>* >> * <property key="jobQueueSize">10000</property>* >> * </adapterConfig>* >> >> when I tried to send a mail there was an error saying, >> >> javax.net.ssl.SSLHandshakeException: >> sun.security.validator.ValidatorException: >> PKIX path building failed: >> sun.security.provider.certpath.SunCertPathBuilderException: >> unable to find valid certification path to requested target >> >> so we did a workaround by disabling "mail.smtp.starttls" . >> The mails are used only for internal purpose. >> is this recommended?? >> >> Thanks >> >> On Mon, Nov 20, 2017 at 5:38 PM, Isham Mohamed <is...@wso2.com> wrote: >> >>> adding Srinath,Suho,Sajith,Isuru >>> >> >> >> >> -- >> >> Isham Mohamed >> *Trainee Software Engineer* >> WSO2 >> >> p: +94778696585 <+94%2077%20869%206585> >> >> <https://lk.linkedin.com/in/isham-mohamed-890792109>. >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Inthirakumaaran > Software Engineering - Intern | WSO2 > > Email: inthirakumaa...@wso2.com > Mobile:0766598050 > > -- Inthirakumaaran Software Engineering - Intern | WSO2 Email: inthirakumaa...@wso2.com Mobile:0766598050
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev