It's not a secret anymore!
The moose likes Servlets and the fly likes Https request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Https request" Watch "Https request" New topic

Https request

Rajeev Kashyap

Joined: Sep 07, 2004
Posts: 19
I am using apache as web server. When my http request is posted it goes as hhtps request i.e in encrypted form. Can any one suggest me what setting I have to do in my web server so that all the http request sent goes as http request.
sanjeevmehra mehra
Ranch Hand

Joined: Aug 21, 2004
Posts: 75
in server.xml you have
<connector> tags

one of them has attribute (property) scheme=https

just comment that <connector> tag.

<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />

thanks & regards,<br />Sanjeev.
Rajeev Kashyap

Joined: Sep 07, 2004
Posts: 19
Thanks Sanjeev! It is working fine!
Rajeev Kashyap

Joined: Sep 07, 2004
Posts: 19
Hi Sanjeev,
That was in case of Tomcat what if my web server in Apache. Any modification in httpd.conf file ?

Thanx in advance
I agree. Here's the link:
subject: Https request
It's not a secret anymore!