You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos <Ca...@pbsinet.com> on 2003/08/13 18:28:50 UTC

Running servlet via SSL???

Hi Forum,

Is it possible to run/navigate to a servlet via an SSL connection?  I have
Apache and Tomcat 4.x installed in RedHat 7.x and I can navigate (with
IExplorer) to a test servlet (which sends a hello message to standard
output) with the following call:
http://<server <http://<server>  ip>:8080/<context>/servlet/<name of class>

But if I use https instead of http the servlet does not run.  I have tried
to change the port to 43 and 8443 without success.  Apache and Tomcat were
installed with their defaults settings so I am not sure if Tomcat is running
as stand alone or not.

Thanks in advance for your response.

Carlos Oliva


Re: Running servlet via SSL???

Posted by John Turner <to...@johnturner.com>.
Did you do the full SSL setup on Apache?  You can't just switch from 
http to https without doing all the configuration and having a SSL 
virtual host setup.

RE: your question, yes, it is possible to use SSL, many people are doing 
so.  If you can be more specific about what you've done and what error 
you're getting, perhaps we can be of more help.

John

Carlos wrote:

> Hi Forum,
> 
> Is it possible to run/navigate to a servlet via an SSL connection?  I have
> Apache and Tomcat 4.x installed in RedHat 7.x and I can navigate (with
> IExplorer) to a test servlet (which sends a hello message to standard
> output) with the following call:
> http://<server <http://<server>  ip>:8080/<context>/servlet/<name of class>
> 
> But if I use https instead of http the servlet does not run.  I have tried
> to change the port to 43 and 8443 without success.  Apache and Tomcat were
> installed with their defaults settings so I am not sure if Tomcat is running
> as stand alone or not.
> 
> Thanks in advance for your response.
> 
> Carlos Oliva
> 
> 



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


Re: Running servlet via SSL???

Posted by John Turner <to...@johnturner.com>.
Did you do the full SSL setup on Apache?  You can't just switch from 
http to https without doing all the configuration and having a SSL 
virtual host setup.

RE: your question, yes, it is possible to use SSL, many people are doing 
so.  If you can be more specific about what you've done and what error 
you're getting, perhaps we can be of more help.

John

Carlos wrote:

> Hi Forum,
> 
> Is it possible to run/navigate to a servlet via an SSL connection?  I have
> Apache and Tomcat 4.x installed in RedHat 7.x and I can navigate (with
> IExplorer) to a test servlet (which sends a hello message to standard
> output) with the following call:
> http://<server <http://<server>  ip>:8080/<context>/servlet/<name of class>
> 
> But if I use https instead of http the servlet does not run.  I have tried
> to change the port to 43 and 8443 without success.  Apache and Tomcat were
> installed with their defaults settings so I am not sure if Tomcat is running
> as stand alone or not.
> 
> Thanks in advance for your response.
> 
> Carlos Oliva
> 
>