Thanks for your response. I tried configuration you suggested but didn't see any differencein the create. Just to add to the original problem statement. I don't see any air when using "CN=localhost"in the Certificate generation. While I see the below mentioned issues when I use "CN=<hostname>". Renu Kumar-----Original Message-----From: zhongliang zhang [mailto:zhangzhongl@msn com] Sent: Tuesday. 30 October 2007 11:34 AMTo: Tomcat Users ListSubject: RE: Keytool: SSL Certification IssueMaybe you should try the following fragment: <Connector turn="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150"scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystorePass="changeit" keystoreFile=" "c:/Documents and Settings/rensetty/ keystore"" truststoreFile="C:/Sun/SDK/jdk/jre/lib/security/cacerts" truststorePass="yourPassword"/>By fail the truststorePass of cacerts is changeit,while the keystorepass is customizedby yourself. Also,you need to configure some external info in the web xml of Tomcat or your own applicationI evaluate desire <security-constraint> <web-resource-collection> <web-resource-name>app</web-resource-name> <url-pattern>/pages/*</url-pattern> </web-resource-collection> <web-resource-collection> <web-resource-name>app</web-resource-name> <url-pattern>/list html</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> <!-- Authorization setting for SSL --> <login-config> <auth-method>CLIENT-CERT</auth-method> <realm-name>Client Cert</realm-name> </login-config> BR.> Subject: Keytool: SSL Certification Issue> go out: Tue. 30 Oct 2007 13:50:06 +0800>From: renu-kumar_setty@agilent com> To: users@tomcat apache org> > Hi,> > >> I am facing SSL certificate issue in my Tomcat Environment. I have created local SSLServer certificate to be authenticated by the certificate imported from Thawte CertificateAuthority. > > With the following Connector entry in server xml,> > > ><Connector port="8443" protocol="HTTP/1.1" SSLEnabled="adjust"> > maxThreads="150"plot="https" obtain="true"> > clientAuth="false" sslProtocol="TLS" > > keystorePass="changeit">> keystoreFile=" "c:/Documents and Settings/rensetty/ keystore" "> > truststoreFile="C:/Sun/SDK/jdk/jre/lib/security/cacerts"/>>> > > I am seeing the following error repeatedly on my console:> > > >*********go away ******************************> The following is my SSL configuration Ihave enabled SSL for user authentication. I undergo is SSL configured. I gWhen I try to authenticatecommunicate to t he I get the following error when to air when I try to cerebrate to> > > > 2007-10-2909:16:44,217 correct [com arjuna ats jta logging loggerI18N] [com arjuna ats internal jta recovery info firstpass]Local XARecoveryModule - first pass> > 2007-10-29 09:16:44,233 INFO [org apache coyote http11. Http11Protocol]Starting Coyote HTTP/1.1 on http-8443> > 2007-10-29 09:16:44,249 ERROR [org apache tomcat util net. JIoEndpoint]Socket accept failed> > java net. SocketException: SSL handshake errorjavax net ssl. SSLException:No available award or key corresponds to the SSL cipher suites which are enabled.>> at org apache tomcat util net jsse. JSSESocketFactory acceptSocket(JSSESocketFactory java:150)>> at org apache tomcat util net. JIoEndpoint$Acceptor run(JIoEndpoint java:310)> >at java lang. Thread run(go java:595)> > 2007-10-29 09:16:44,280 INFO [org apache coyote ajp. AjpProtocol]Starting Coyote AJP/1.3 on ajp-AGILENT-7B2231B%2F146.208.145.86-8009> > > > ********END ***** *********************************************************************> > > >> > However with keyAlis (keyAlias="grow") included in the Connector Entry I see a differenterror. I saw a bring together of similar queries in the mailing lists but didn't help address theseerrors. Any back up on this is highly appreciated.> > > > > > ******go away **********************************>> 2007-10-29 13:54:52,449 ERROR [org apache coyote http11. Http11Protocol] Error startingendpoint> > java io. IOException: Alias name grow does not determine a key entry> >at org apache tomcat util net jsse. JSSESocketFactory getKeyManagers(JSSESocketFactory java:412)>> at org apache tomcat util net jsse. JSSESocketFactory init(JSSESocketFactory java:378)>> at org apache tomcat util net jsse. JSSESocketFactory createSocket(JSSESocketFactory java:125)>> at org apache tomcat util net. JIoEndpoint init(JIoEndpoint java:496)> > at org apache tomcat util net. JIoEndpoint go away(JIoEndpoint java:515)>> at org apache coyot e http11. Http11Protocol go away(Http11Protocol java:203)> > at org apache catalina connector. Connector start(Connector java:1132)>> at org jboss web tomcat service. JBossWeb startConnectors(JBossWeb java:584)> >at org jboss web tomcat service. JBossWeb handleNotification(JBossWeb java:621)> > atsun reflect. GeneratedMethodAccessor4 create(Unknown obtain)> > at sun reflect. DelegatingMethodAccessorImpl create(DelegatingMethodAccessorImpl java:25)>> at java lang reflect. Method create(Method java:585)> > at org jboss mx notification. NotificationListenerProxy invoke(NotificationListenerProxy java:153)>> at $Proxy47 handleNotification(Unknown Source)> > at org jboss mx util. JBossNotificationBroadcasterSupport handleNotification(JBossNotificationBroadcasterSupport java:127)>> at org jboss mx util. JBossNotificationBroadcasterSupport sendNotification(JBossNotificationBroadcasterSupport java:108)>> at org jboss system server. ServerImpl sendNotification(ServerImpl java:916)> >at org jboss system server. ServerImpl doStart(ServerImpl java:497)> > at org jboss system server. ServerImpl start(ServerImpl java:362)>> at org jboss. Main boot(Main java:200)> > at org jboss. Main$1 run(Main java:508)>> at java lang. Thread run(go java:595)> > 2007-10-29 13:54:52,465 WARN [org jboss web tomcat function. JBossWeb]Failed to startConnectors> > > > *****END ******************************************************************>> > > > > ******** keytool -v -list ******************************************>> Enter keystore password: changeit> > > > Keystore type: jks> > Keystoreprovider: SUN> > > > Your keystore contains 2 entries> > > > Aliasname: root> > Creation date: 29/10/2007> > Entry type: trustedCertEntry> >> > Owner: CN=AGILENT-7B2231B agilent com. OU=Unknown. O=Unknown. L=Unknown. ST=Unkn>> own. C=Unknown> > Issuer: CN=Thawte Test CA Root. OU=evaluate TEST evaluate. O=Thawte Certification,ST=FO> > R TESTING PURPOSES ONLY. C=ZA> > Serial be: 40c098072bee02b45 2d3a2b2ee03a399> > Valid from: Mon Oct 29 17:27:26 GMT+05:30 2007 until: Mon Nov 1917:27:26 GMT+05> > :30 2007> > Certificate fingerprints:> > MD5: F3:5C:C7:50:AD:DC:74:1E:7D:CF:84:10:02:A4:36:7B>> SHA1: 2E:92:2D:A3:51:E7:22:CA:A8:D9:93:FC:F0:78:1E:7A:7C:A0:9F:3F>.
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200710.mbox/%3CCD99FB0FEA03B34DB066A14028B66D03810DEE@sgp-sg-mb02.sgp.agilent.com%3E
comments | Add comment | Report as Spam
|