Bad certificate error when using TLS Authentication

84 views
Skip to first unread message

niraj kumar

unread,
Apr 8, 2016, 4:33:11 PM4/8/16
to etcd-dev
Hi,

How can we use a web-ui for etcd like etcd-viewer or etcd-console and connect it to a secure etcd. Is there a documented way to do that. 

I have a secure etcd listening on port 443 and is fully functional when using a rest client by using the certificate and the private key. But when using these web UI's it doesn't work. 

i have the certs and private key been imported to the java trust store using the keytool and these are legitimate verisign certificated with valid CA. 


Caused by: javax.net.ssl.SSLHandshakeException: SSLHandshakeException invokinghttps://etcd.xxxx.com/version: Received fatal alert: bad_certificate
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1365)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1349)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:652)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:624)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1100)


I would be happy to provide any additional info. required. 

Thanks in advance.

Regards
Niraj
Reply all
Reply to author
Forward
0 new messages