changing https to http

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

changing https to http

Milind Pol
Hello,

 

Can I change the protocol for all the traffic to http from https? If yes,
how do I go about doing it?

 

Regards,

Milind

Reply | Threaded
Open this post in threaded view
|

Re: changing https to http

Amit Shinde
There are 2 ways you can do this

1.> If you dont want any https at all, then theres a global property 'port.https.enabled' in url.properties file. Set it to 'N'.

2.> If you want to turn individual requests from https to http, you will need to change the https attribute value to false in the request map of your controller -

 <request-map uri="view">
        <security https="true" auth="false"/>
        <response name="success" type="view" value="main"/>
        <response name="error" type="view" value="error"/>
    </request-map>

<security https="true" auth="false"/> will become <security https="false" auth="false"/>

Hope this helps.

Amit Shinde
Amicon Technologies Pvt. Ltd., Mumbai, India.



Milind Pol wrote:
Hello,

 

Can I change the protocol for all the traffic to http from https? If yes,
how do I go about doing it?

 

Regards,

Milind

  
Reply | Threaded
Open this post in threaded view
|

RE: changing https to http

Milind Pol
Hi Amit,

 

Thanks for quick response. But changing port.https.enabled property does not
let me login.

 

The first (login) page is rendered correctly, but not the later ones.

 

However, even after changing the property to "N", I am able to continue
login with https protocol.

 

Regards,

Milind

 

  _____  

From: Amit Shinde [mailto:[hidden email]]
Sent: 03 July 2007 20:08
To: [hidden email]
Subject: Re: changing https to http

 

There are 2 ways you can do this

1.> If you dont want any https at all, then theres a global property
'port.https.enabled' in url.properties file. Set it to 'N'.

2.> If you want to turn individual requests from https to http, you will
need to change the https attribute value to false in the request map of your
controller -

 <request-map uri="view">
        <security https="true" auth="false"/>
        <response name="success" type="view" value="main"/>
        <response name="error" type="view" value="error"/>
    </request-map>

<security https="true" auth="false"/> will become <security https="false"
auth="false"/>

Hope this helps.

Amit Shinde
Amicon Technologies Pvt. Ltd., Mumbai, India.



Milind Pol wrote:

Hello,
 
 
 
Can I change the protocol for all the traffic to http from https? If yes,
how do I go about doing it?
 
 
 
Regards,
 
Milind
 
 
Reply | Threaded
Open this post in threaded view
|

Re: changing https to http

matarazzo angelo
In reply to this post by Milind Pol
Hi Amit,
I followed your advice, but now I have the problem with new security emprovement.

I didn't want any https at all, so I  setted global property 'port.https.enabled' in url.properties file to 'N'.

Before "SECURE URLs"

I went here
http://abna22216ecs:8080/webtools/

I inserted  user:    admin
              password:ofbiz
The request
http://localhost:8080/webtools/control/login worked!

Now,after security improvement

The request
http://localhost:8080/webtools/control/login doesn't work!

The error is:
org.ofbiz.webapp.control.RequestHandlerException: Not accepting insecure form data posted to a secure request

How can I change the protocol for all the traffic to http from https now?

Regards,

Angelo

Milind Pol wrote
Hello,

 

Can I change the protocol for all the traffic to http from https? If yes,
how do I go about doing it?

 

Regards,

Milind