Dear All
I confige the ssl in
tomcat ,but no lucky. First I install the JSSE 1.03 ,it successful .Next ,I Create a local Certificate ,use the command :
keytool -genkey -alias tomcat -keyalg RSA -keystore mykeystore to careate a keystore file ,and create a csr file using the command --keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr -keystore mykeystore .Then i submit the csr to virsign.com ,and gain a free 14 day certifaction .At last ,i import the getcacert.cer(Chain Certificate )into you keystore,and import the free certifaction into my keystore ,and restar the tomcat.Any thing is ok ,but the tomcat console display that:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(D
ashoA6275)
at org.apache.tomcat.util.net.JSSESupport.getPeerCertificateChain(JSSESu
pport.java:118)
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:
543)
at org.apache.coyote.Response.action(Response.java:216)
at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapte
r.java:314)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
1)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:533)
at java.lang.Thread.run(Thread.java:484)
please tell me how to do ?