You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Clemens Eisserer <li...@gmail.com> on 2009/07/04 12:34:59 UTC

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

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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

Posted by Pid <p...@pidster.com>.
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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


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