tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swati Jain Goyal" <swati.jain.go...@ericsson.com>
Subject how to configure SSL in embedde tomcat.
Date Fri, 09 May 2008 05:21:17 GMT

hi

Please tell me a way to configure SSL environment using embedded tomcat
6.0. I have tried it using Embedded tomcat 5.5.9 and it accepts the
https requests. But when trying to run the same code using embedded
Apache tomcat 6.0, it doesnt accepts https requests.

When I debugged it, I found that no socket is formed while using 6.0
version, but a JSSE socket was formed while using 5.0 version.

IntrospectionUtils.setProperty(this, "port", "" + port);
IntrospectionUtils.setProperty(this, "address", "" + address);
IntrospectionUtils.setProperty(this, "sslProtocol", "TLS");
IntrospectionUtils.setProperty(this, "keystoreFile", keyStoreFile);
IntrospectionUtils.setProperty(this, "keystorePass", keyStorePassword);
connector.setSecure(true); connector.setScheme("https");
connector.setEnableLookups(false);
connector.start();

this.embedded.addConnector(connector);
than I added the connector to already started tomcat

This worked in earlier version embedded (Apache tomcat 5.5.9 ) but not
in embedded Apache tomcat 6.0.=20


Swati Jain Goyal
Software Engineer


This communication is confidential and intended solely for the
addressee(s). Any unauthorized review, use, disclosure or distribution
is prohibited. If you believe this message has been sent to you in
error, please notify the sender by replying to this transmission and
delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption,
interception, unauthorized amendment, tampering and viruses, and we only
send and receive emails on the basis that we are not liable for any such
corruption, interception, amendment, tampering or viruses or any
consequences thereof.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message