on 02-28-2011 8:42 PM
Without using a reverse proxy or web dispatcher, is there a config setting in NW EP 7.01 that would force all requests to http://<host>; to https://<host>?
Hi David,
Please check the SAP note 973644 : How to configure HTTPS redirect on J2EE Engine
Solution:
Open Config Tool and go to Configurations -> cluster_data -> server -> eristent -> servlet_jsp. Open the file global-web.xml and put the following security-constraint tag just before closing tag </web-app>:
<security-constraint>
<display-name>HTTPS-redirect</display-name>
<web-resource-collection>
<web-resource-name>allResources</web-resource-name>
<url-pattern>*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
In order to take an effect restart J2EE Engine.
Regards,
Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That solution almost got us where we needed to be. Since we are using web dispatcher, we send all requests to http://<host>. The web dispatcher then translates that to http://<host>:50000.
When I put those parameters into the XML file and restarted, my requests to http://<host>; got redirected to https://<host>:50001.
They need to be redirected to just https://<host>;
Is there a web dispatcher parameter that would do this(force HTTP requests over to HTTPS)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I use the web dispatcher for this need.
I have a DNS alias (short and long) for the server which hosts the web dispatcher and the SAP EP portal.
When the user types the simple URL http://portalsap
there are web dispatcher redirect rules which redirect the user browser to the technical URL
https://portalsap.companydomain.country/irj/portal
My web dispatcher listens on the 2 standard ports : 80 for HTTP and 443 for https.
The portal port (50000) is never seen by the users.
As the web dispatcher ends the SSL connexion, the portal is always accessed with http but this is not a security risk beacause the web dispatcehr and Portal are o nthe same physical host.
I have also only one signes X509 certificate to manage on the web dispatcher.
Hope this helps.
Olivier
Hi
We are using web service in Portal 7.01, the actual web service is working fine with in the network
for external usage we are calling the web service through CSS to make it Https
like https://company.com/. ( this call is routed through CSS )
but i am getting an error as cannot download WSDL
is there a way i can redirect the URL internally using dispatcher to the original service
Could you please help me on this
Thank you so very much for your help in advance
Regards
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.