You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Luis Slocker (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 17:56:26 UTC

[jira] [Created] (HUPA-87) found jdk error. - Unable to authenticate. sun.security.validator.ValidatorException: No trusted certificate

found jdk error. - Unable to authenticate. sun.security.validator.ValidatorException: No trusted certificate
------------------------------------------------------------------------------------------------------------

                 Key: HUPA-87
                 URL: https://issues.apache.org/jira/browse/HUPA-87
             Project: JAMES Hupa
          Issue Type: Bug
         Environment: On linux-ubuntu 11.10 
java-1.6.0-openjdk
            Reporter: Luis Slocker
            Assignee: Norman Maurer
            Priority: Minor


I think there is a problem with cacerts file


63807 [qtp1490642445-42] ERROR HupaLogger  - Unable to authenticate
user: lulu@alcala.org
javax.mail.MessagingException:
sun.security.validator.ValidatorException: No trusted certificate
found;
 nested exception is:
       javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate
found
       at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
       at javax.mail.Service.connect(Service.java:288)
       at org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:123)
       at org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:89)
       at org.apache.hupa.server.handler.LoginUserHandler.execute(LoginUserHandler.java:79)
       at org.apache.hupa.server.handler.LoginUserHandler.execute(LoginUserHandler.java:45)
       at net.customware.gwt.dispatch.server.AbstractDispatch.doExecute(AbstractDispatch.java:81)
       at net.customware.gwt.dispatch.server.AbstractDispatch.execute(AbstractDispatch.java:68)
       at net.customware.gwt.dispatch.server.standard.AbstractStandardDispatchServlet.execute(AbstractStandardDispatchServlet.java:22)
       at org.apache.hupa.server.servlet.HupaDispatchServlet.execute(HupaDispatchServlet.java:53)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
       at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
       at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
       at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
       at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
       at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
       at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
       at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
       at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
       at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
       at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
       at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
       at org.eclipse.jetty.server.Server.handle(Server.java:352)
       at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
       at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)
       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
       at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
       at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
       at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
       at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)
       at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Commented] (HUPA-87) found jdk error. - Unable to authenticate. sun.security.validator.ValidatorException: No trusted certificate

Posted by "Echo (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HUPA-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245985#comment-13245985 ] 

Echo commented on HUPA-87:
--------------------------

Hi Luis
As it said, maybe it need yourself to import the certificate.
And you'd better update the config.properties in the project, since it had been changed by @Manolo.
A reference to solve the cacerts issues - 
http://echo.wdx.me/post/20175431793/solved-make-hupa-run-with-java-cacerts-file
                
> found jdk error. - Unable to authenticate. sun.security.validator.ValidatorException: No trusted certificate
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HUPA-87
>                 URL: https://issues.apache.org/jira/browse/HUPA-87
>             Project: JAMES Hupa
>          Issue Type: Bug
>         Environment: On linux-ubuntu 11.10 
> java-1.6.0-openjdk
>            Reporter: Luis Slocker
>            Assignee: Norman Maurer
>            Priority: Minor
>
> I think there is a problem with cacerts file
> 63807 [qtp1490642445-42] ERROR HupaLogger  - Unable to authenticate
> user: lulu@alcala.org
> javax.mail.MessagingException:
> sun.security.validator.ValidatorException: No trusted certificate
> found;
>  nested exception is:
>        javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No trusted certificate
> found
>        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:665)
>        at javax.mail.Service.connect(Service.java:288)
>        at org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:123)
>        at org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:89)
>        at org.apache.hupa.server.handler.LoginUserHandler.execute(LoginUserHandler.java:79)
>        at org.apache.hupa.server.handler.LoginUserHandler.execute(LoginUserHandler.java:45)
>        at net.customware.gwt.dispatch.server.AbstractDispatch.doExecute(AbstractDispatch.java:81)
>        at net.customware.gwt.dispatch.server.AbstractDispatch.execute(AbstractDispatch.java:68)
>        at net.customware.gwt.dispatch.server.standard.AbstractStandardDispatchServlet.execute(AbstractStandardDispatchServlet.java:22)
>        at org.apache.hupa.server.servlet.HupaDispatchServlet.execute(HupaDispatchServlet.java:53)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
>        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
>        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
>        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
>        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
>        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
>        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
>        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
>        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
>        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
>        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:479)
>        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)
>        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
>        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
>        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
>        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
>        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:151)
>        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
>        at org.eclipse.jetty.server.Server.handle(Server.java:352)
>        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
>        at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1068)
>        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
>        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
>        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
>        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)
>        at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org