Hi,

I have done following steps to create the keystore and added the chap8.keystore file 
in JBOSS_HOME/server/default/conf. 

C:\>keytool -genkey -alias rmi+ssl -keyalg RSA -keystore chap8.keystore -validity 3650
Enter keystore password:  dxkeystore
What is your first and last name?
  [Unknown]:  COMP601
What is the name of your organizational unit?
  [Unknown]:  nti
What is the name of your organization?
  [Unknown]:  dpsl
What is the name of your City or Locality?
  [Unknown]:  pune
What is the name of your State or Province?
  [Unknown]:  maharashtra
What is the two-letter country code for this unit?
  [Unknown]:  in
Is CN=COMP601, OU=nti, O=dpsl, L=pune, ST=maharashtra, C=in correct?
  [no]:  y

Enter key password for <rmi+ssl>
        (RETURN if same as keystore password):


But still i am getting the below given exception

12:25:56,461 ERROR [Http11Protocol] Error initializing endpoint
java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:739)
        at java.security.KeyStore.load(KeyStore.java:652)
        at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.initKeyStore(JSSESocketFactory.java:187)
        at 
org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.initProxy(JSSE14SocketFactory.java:147)
        at 
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:138)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:277)
        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:150)
        at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1156)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
-------

12:25:56,471 ERROR [EmbeddedTomcatService] Starting failed
LifecycleException:  Protocol handler initialization failed: java.io.IOException: 
Keystore was tampered with, or password was incorrect
        at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1158)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
        at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:273)
        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
----------

12:25:56,491 WARN  [ServiceController] Problem starting service 
jboss.web:service=WebServer
LifecycleException:  Protocol handler initialization failed: java.io.IOException: 
Keystore was tampered with, or password was incorrect
        at 
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:1158)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:999)
        at 
org.jboss.web.tomcat.tc4.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:273)
        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)

What can be the cause?

Thanks in advance.

Jitendra

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826072#3826072";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826072>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to