• 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

configuration SSL in Tomcat

 
Greenhorn
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
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 ?
 
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
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!