6 Replies Latest reply: May 23, 2012 1:34 PM by 916099 RSS

    Liferay--eclipse--ApacheTomcat--Exchange server--pop3 mail configuration--


      I have liferay application used to develop by using spring and eclipse. our portal is working fine. And i can send email noticfications while some one create a new email ID with gmail,hotmail. But with our exchange error it wont work . I have acuried the right smtp outgoing setting(bcz thats only wht we really care right now) those settings are:

      SMTP Port = 587 (SSL encrypted)

      Incoming ports:
      POP3 = 995 (SSL encrypted)
      IMAP4 = 993 (SSL encrypted)

      Basic - This is clear text authentication. Must be secured with TLS to prevent third parties from accessing
      NTLM - NTLM is only available if accessing over RPC over http (also called outlook anywhere)

      TLS encryption enabled = All clients connecting are REQUIRED to use TLS encryption in order to authenticate to the exchange server.
      STARTTLS = enabled.

      But tomcat displays following error when i create an account:

      unable to find valid certification path to requested target
      at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCe
      at java.secur

      And some one sugggested below to me i am not sure if that is wht i needed to do?

      In the life ray thread have a look at below conversation:

      I just try this in the latest build of liferay 6.1.1, I think that it's an issue with the certificate. In my case the certificate its not registered with certificate provider, that maybe my problem

      If this is true then they suggest:

      Try setting JSSE truststore.


      Full Error:

      **at java.lang.Thread.run(Thread.java:619)**
      **:09:07,699 ERROR [MVCPortlet:361] null is not a valid include**
      **:10:28,268 ERROR [MailEngine:507] Exception reading response**
      **:10:28,269 ERROR [MailEngine:154] sun.security.provider.certpath.SunCertPath**
      **derException: unable to find valid certification path to requested target**
      **at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCe**
      **at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)**
      **at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:289**
      **at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.j**
      **at sun.security.validator.Validator.validate(Validator.java:218)**
      **at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509Trus**
      **at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTruste**
      **at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTruste**
      **at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Cli**
      **at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Client**
      **at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java**
      **at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.j**
      **at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl**
      **at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(**
      **at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocket**
      **at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.jav**
      **at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)**
      **at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)**
      **at java.io.BufferedInputStream.read(BufferedInputStream.java:237)**
      **at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)**