I am using Microsoft IIS to proxy requests for WebLogic server.
I've enabled https on IIS.
[http://webserver gives error that 'page must be viewed on https' and https://webserver gives content of Default.htm file]
I've enabled https on WebLogic Server.
[http://weblogic:7001/myapp/test.jsp and https://weblogic:7002/myapp/test.jsp both works]
Communication b/w IIS and WebLogic Server is on https.
The issue is when I access application on https using webserver URL (https://webserver/myapp/test.jsp) I do get response (content of test.jsp) but when I print request.getRequestURL() in a filter, I get http URL (http://webserver/myapp/test.jsp). This is causing a issue while doing sendRedirect()...
Why are my https URLs getting converted to http? Any idea?
Thanks.
Following solved my issue:
If a plug-in is communicating to WebLogic application server then do following –
Environments > Servers > select your server > General > Advanced > check WebLogic Plug-In Enabled
Thanks again.
Related
I have two applications hosted under default Web Site on IIS 10.
For one application(for which I am using default port:443) I am able to redirect http request to https using URL Rewrite.
but for other application I am not able to achieve this(It has other port number eg:9000).
Thanks in advance!
I am trying to setup SonarQube with SSL on Windows Server 2019. I can access the SonarQube server locally on the server using http://localhost:9000.
I followed the exact steps as outlined here to setup reverse proxy in IIS using URL Rewrite module. I see the Re-Write URL set to http://http://localhost:9000/{R:1}
However when I browse https://sonarqube.mydomain.com I get the error below
502 - Web server received an invalid response while acting as a gateway or proxy server.
Is there anything i need to enable in SonarQube to enable Reverse Proxy?
I could not find anything in website's logs %SystemDrive%\inetpub\logs\LogFiles
found it
I don't know why URL Rewrite module was adding URL as http://http://localhost:9000/{R:1}
I manually changed it to http://localhost:9000/{R:1} and it worked
I have 2 Windows 2012r2 Servers (Dev and Production) both running IIS 8. Both were configured identically as far I as know. I am in the process of installing wildcard certs on both of them.
I installed the cert on my Dev server and it's working. One thing that surprised me though was that I didn't have to add any additional bindings to any of my site configs (eg: I didn't add https/443) and just simply changing http to https in the browser is working, and showing the cert. Why is that?
My main question though is that on my Production server, before importing the wildcard cert, I tried simply changing the url for a couple of the domains I host from http to https in a browser to see what the result would be. When I do this I'm getting a redirect loop for all https tests. ???
I don't have any https URL Rewrites configured so I don't know what the cause of the redirect loop is. It does it for all sites on this server when trying to load it using https.
example:
http://mydomain.example.com (works)
https://mydomain.example.com (redirect loop)
Safari says, "...redirected you too many times. ERR_TOO_MANY_REDIRECTS"
Chrome says, "Too many redirects occurred..."
Additionally, if I load http://localhost on the server itself it works. If I load https://localhost I get an error, "Not Found - HTTP Error 404".
I should add that this Production server is behind an F5 Load Balancer so that could be playing into this behavior as well.
The cause of the redirect loop for all sites on the Production server was an irule on the F5 LB, that shouldn't have been there, that was looping port 443 back to itself. HTTPS for all sites worked after the irule was removed.
With regards to the Dev server and https sites working without having to add a binding. I also discovered that the F5 was configured to handle certs with a wildcard cert so local certs weren't even required. The data center team didn't communicate to me that the LB was configured to handle certs for these servers.
I'm new to SSL in IIS 6. I download and the IIS 6 Resource Kit and followed the instructions here:
http://www.somacon.com/p42.php
My IIS webpage is at: review.mprinc.com/webvts.
If I go to http://review.mprinc.com/webvts, the site is still there and if I go to https://review.mprinc.com/webvts, it appears the SSL is working.
Is that all I have to do? How do I forward the http: page to my https: one?
If SSL is working then you should redirect http to https for all site or for certain pages and a short description on how could be done can be found here How to Force Redirection From HTTP to HTTPS on IIS 6.0. Also it is recommended to configure a default page.
Newbie IIS question:
I want to setup HTTPS access for my XHTML page (not asp.net) hosted on my IIS 6.0 server. So far I have done the following:
In IIS Manager, for the particular folder, the following are set:
Require secure channel (SSL)
Require 128 bit encryption
Ignore client certificates
However when I try to access the page from IE 8.0 there is the following error:
"Internet explorer cannot display the page".
The options for using SSL and TSL are ON in the IE settings. Same error with Firefox also.
Apart from the above is there any else I should setup on the IIS server?
Have you generated a self-signed server certificate?
Here are the official instructions for setting up SSL in IIS. You can find directions here for creating a self signed certificate if that is the route you want to take.