hi
For this we need to set one more parameter :-
IntrospectionUtils.setProperty(this, "SSLEnabled", "true");

Thanks all of you for the support

Regards,
Swati



On 5/12/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> Have you upgraded the version as now it is more than 6.1
> check &let me know
> thanks
> Vishvanathan
>
>
> Quoting swati jain <[EMAIL PROTECTED]>:
>
> > 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.
> >
> > Please help me to fnad a solution so that https requests can be handled
> by
> > embedded tomcat6.0 .
> >
> > Thanks in advance
> >
> > Best Regards,
> > Swati
> >
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to