• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Joe Ess
  • salvin francis
  • fred rosenberger

configuration SSL in Tomcat

Posts: 5
  • Mark post as helpful
  • send pies
  • 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
at org.apache.tomcat.util.net.JSSESupport.getPeerCertificateChain(JSSESu
at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:
at org.apache.coyote.Response.action(Response.java:216)
at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapte
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
at java.lang.Thread.run(Thread.java:484)

please tell me how to do ?
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!