Howto enable SSL/https for the tomcat-embedded version?

2009-07-04 Thread Clemens Eisserer
Hello,

To do some development/testing I would like to enable SSL/https for my
embedded tomcat version.
The SSL tutorial suggests to modify server.xml, however this version
of tomcat doesn't seem to have this file - instead all the
configuration seems to be done by the ant build.xml file which is used
to start it.

I guess I would have to add another Connector, which accepts SSL.
For now there'r only the plain non-ssl connector enabled:
   mbean name=${domain}:type=Connector,port=9080
  code=org.apache.catalina.connector.Connector
  modeler=true
  attribute name=port value=9080 /
   /mbean

Any idea howto alther the configuration to enable ssl?

Thank you in advance, Clemens

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Howto enable SSL/https for the tomcat-embedded version?

2009-07-04 Thread Pid

On 4/7/09 11:34, Clemens Eisserer wrote:

Hello,

To do some development/testing I would like to enable SSL/https for my
embedded tomcat version.
The SSL tutorial suggests to modify server.xml, however this version
of tomcat doesn't seem to have this file - instead all the
configuration seems to be done by the ant build.xml file which is used
to start it.

I guess I would have to add another Connector, which accepts SSL.
For now there'r only the plain non-ssl connector enabled:
mbean name=${domain}:type=Connector,port=9080
   code=org.apache.catalina.connector.Connector
   modeler=true
   attribute name=port value=9080 /
/mbean

Any idea howto alther the configuration to enable ssl?


If this configures Connector attributes:

  attribute name=port value=9080 /

I'd try adding the appropriate attributes from the Connector config docs.


p




Thank you in advance, Clemens

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org