|
From: Ebtehal H. <h.e...@ya...> - 2014-02-23 13:18:57
|
Hi, i would like to test my CA with the client tool box in ejbca , but when i run this command i get the following error: ./ejbcawsracli.sh EjbcaWsRaCli stress adminCA 20 500 javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://192.168.20.4:8443/ejbca/ejbcaws/ejbcaws?wsdl?wsdl. It failed with: java.security.cert.CertificateException: No subject alternative names present. org.ejbca.ui.cli.ErrorAdminCommandException: javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://192.168.20.4:8443/ejbca/ejbcaws/ejbcaws?wsdl?wsdl. It failed with: java.security.cert.CertificateException: No subject alternative names present. at org.ejbca.core.protocol.ws.client.StressTestCommand.execute(StressTestCommand.java:516) at org.ejbca.core.protocol.ws.client.ejbcawsracli.main(ejbcawsracli.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.ejbca.ui.cli.EjbcaWsRaCli.execute(EjbcaWsRaCli.java:36) at org.ejbca.ui.cli.ClientToolBox.executeIfSelected(ClientToolBox.java:40) at org.ejbca.ui.cli.ClientToolBox.main(ClientToolBox.java:70) Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: https://192.168.20.4:8443/ejbca/ejbcaws/ejbcaws?wsdl?wsdl. It failed with: java.security.cert.CertificateException: No subject alternative names present. at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:151) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:133) at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217) at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165) at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93) at javax.xml.ws.Service.<init>(Service.java:76) at org.ejbca.core.protocol.ws.client.gen.EjbcaWSService.<init>(EjbcaWSService.java:36) at org.ejbca.core.protocol.ws.client.EJBCAWSRABaseCommand.getEjbcaRAWS(EJBCAWSRABaseCommand.java:213) at org.ejbca.core.protocol.ws.client.EJBCAWSRABaseCommand.getEjbcaRAWSFNewReference(EJBCAWSRABaseCommand.java:205) at org.ejbca.core.protocol.ws.client.StressTestCommand$MyCommandFactory.getCommands(StressTestCommand.java:86) at org.ejbca.util.PerformanceTest$TestInstance.<init>(PerformanceTest.java:129) at org.ejbca.util.PerformanceTest.execute(PerformanceTest.java:195) at org.ejbca.core.protocol.ws.client.StressTestCommand.execute(StressTestCommand.java:507) ... 8 more Caused by: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1715) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:257) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:251) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1168) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:609) at sun.security.ssl.Handshaker.process_record(Handshaker.java:545) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:963) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1208) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1235) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1219) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:440) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at java.net.URL.openStream(URL.java:1031) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:793) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:251) at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:118) ... 20 more Caused by: java.security.cert.CertificateException: No subject alternative names present at sun.security.util.HostnameChecker.matchIP(HostnameChecker.java:159) at sun.security.util.HostnameChecker.match(HostnameChecker.java:92) at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:285) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:271) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1147) ... 35 more please help me as soon as posible with regards Ebtehal |