• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

configuration SSL in Tomcat

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic