archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 岩本 俊彦 <iwamot...@waku-2.com>
Subject RE: Could not generate DH keypair
Date Fri, 04 Mar 2016 11:06:38 GMT
I've added the following to jetty.xml.
However, I saw the following error message is output to wrapper.log.
Any help or suggestions would be appreciated.

jetty.xml:
   <Call name="addConnector">
     <Arg>
       <New class="org.mortbay.jetty.security.SslSocketConnector">
         <Set name="keystore">/foo/bar/xxx.pem</Set>
         <Set name="keyPassword">OBF: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</Set>
         <Set name="truststore">/foo/bar/xxx.pem</Set>
         <Set name="trustPassword">OBF:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</Set>
         <Set name="port">8443</Set>
         <Set name="maxIdleTime">30000</Set>
       </New>
     </Arg>
   </Call>


wrapper.log:
INFO   | jvm 1    | 2016/03/04 10:14:03 | 2016-03-04 10:14:03.293::WARN:  EXCEPTION 
INFO   | jvm 1    | 2016/03/04 10:14:03 | java.io.IOException: Invalid keystore format
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at java.security.KeyStore.load(KeyStore.java:1185)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocketConnector.java:215)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSocketConnector.java:423)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.jetty.Server.doStart(Server.java:235)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.start.Main.invokeMain(Main.java:194)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.start.Main.start(Main.java:534)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.start.Main.start(Main.java:441)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.mortbay.start.Main.main(Main.java:119)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at java.lang.reflect.Method.invoke(Method.java:597)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2016/03/04 10:14:03 | 	at java.lang.Thread.run(Thread.java:619)

> -----Original Message-----
> Sent: Friday, March 04, 2016 5:56 PM
> To: 'users@archiva.apache.org'
> Subject: Could not generate DH keypair
> 
> I want to connect to a remote repository
> "https://repository.apache.org/content/repositories/releases/" in
> Apache Archiva.
> However, I saw the following error message is output to archiva.log.
> Any help or suggestions would be appreciated.
> 
> 
> Archiva and java version
> Apache Archiva2.2.0 , jdk-8u20
> Apache Archiva2.2.0 , jdk-7u80
> Apache Archiva1.3.1 , jdk-8u20
> 
> 
> error message
> 2016-03-04 06:08:49,529 [qtp9497354-23] ERROR
> org.apache.archiva.webdav.ArchivaDavResourceFactory [] - An error
> occurred in downloading from the remote repository, and the policy is to
> fail immediately:
>         apache.repository.releases: Download failure on resource
> [https://repository.apache.org/content/repositories/releases//org/apac
> he/maven/plugins/maven-scm-plugin/1.0/maven-scm-plugin-1.0.pom]:java.l
> ang.RuntimeException: Could not generate DH keypair (cause:
> javax.net.ssl.SSLException: java.lang.RuntimeException: Could not
> generate DH keypair)
> org.apache.archiva.policies.ProxyDownloadException: An error occurred in
> downloading from the remote repository, and the policy is to fail
> immediately:
>         apache.repository.releases: Download failure on resource
> [https://repository.apache.org/content/repositories/releases//org/apac
> he/maven/plugins/maven-scm-plugin/1.0/maven-scm-plugin-1.0.pom]:java.l
> ang.RuntimeException: Could not generate DH keypair (cause:
> javax.net.ssl.SSLException: java.lang.RuntimeException: Could not
> generate DH keypair)
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.validatePoli
> cies(DefaultRepositoryProxyConnectors.java:1048)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromPro
> xies(DefaultRepositoryProxyConnectors.java:360)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.webdav.ArchivaDavResourceFactory.fetchContentFromPr
> oxies(ArchivaDavResourceFactory.java:820) [archiva-webdav-2.2.0.jar:?]
>         at
> org.apache.archiva.webdav.ArchivaDavResourceFactory.processRepository(
> ArchivaDavResourceFactory.java:629) [archiva-webdav-2.2.0.jar:?]
>         at
> org.apache.archiva.webdav.ArchivaDavResourceFactory.processRepositoryG
> roup(ArchivaDavResourceFactory.java:494) [archiva-webdav-2.2.0.jar:?]
>         at
> org.apache.archiva.webdav.ArchivaDavResourceFactory.createResource(Arc
> hivaDavResourceFactory.java:263) [archiva-webdav-2.2.0.jar:?]
>         at
> org.apache.archiva.webdav.RepositoryServlet.service(RepositoryServlet.
> java:125) [archiva-webdav-2.2.0.jar:?]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> [javax.servlet-3.0.0.v201112011016.jar:?]
>         at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:
> 501) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.ja
> va:137) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java
> :557) [jetty-security-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandle
> r.java:231) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandle
> r.java:1086) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:4
> 28) [jetty-servlet-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler
> .java:193) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler
> .java:1020) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.ja
> va:135) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Conte
> xtHandlerCollection.java:255)
> [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerColle
> ction.java:154) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.
> java:116) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at org.eclipse.jetty.server.Server.handle(Server.java:370)
> [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstract
> HttpConnection.java:494)
> [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(Abstrac
> tHttpConnection.java:971)
> [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerC
> omplete(AbstractHttpConnection.java:1033)
> [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
> [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> [jetty-http-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnectio
> n.java:82) [jetty-server-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEnd
> Point.java:667) [jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndP
> oint.java:52) [jetty-io-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool
> .java:608) [jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.
> java:543) [jetty-util-8.1.14.v20131031.jar:8.1.14.v20131031]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_20]
> Caused by: org.apache.archiva.proxy.ProxyException: Download failure on
> resource
> [https://repository.apache.org/content/repositories/releases//org/apac
> he/maven/plugins/maven-scm-plugin/1.0/maven-scm-plugin-1.0.pom]:java.l
> ang.RuntimeException: Could not generate DH keypair (cause:
> javax.net.ssl.SSLException: java.lang.RuntimeException: Could not
> generate DH keypair)
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.transferSimp
> leFile(DefaultRepositoryProxyConnectors.java:970)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.transferArti
> fact(DefaultRepositoryProxyConnectors.java:632)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.transferReso
> urces(DefaultRepositoryProxyConnectors.java:580)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.transferFile
> (DefaultRepositoryProxyConnectors.java:776)
> ~[archiva-proxy-2.2.0.jar:?]
>         at
> org.apache.archiva.proxy.DefaultRepositoryProxyConnectors.fetchFromPro
> xies(DefaultRepositoryProxyConnectors.java:338)
> ~[archiva-proxy-2.2.0.jar:?]
>         ... 31 more


Mime
View raw message