Page Viewer Web Part will not work when i access my SharePoint sites using https
-
08-10-2020 - |
Question
I am working on sharepoint server 2013 web application. and i added a Page viewer Web part which is showing an external system. the url for the external system is (http://HRWebApplication
).
now when i access my sharepoint web application using http
with sharepoint server name as follow http://SPservername/
the page viewer worked well.
but if i access my sharepoint web application using HTTPS
+ I used an alternative access name such as https://OurSharePointIntranet.intra
the page viewer will not show the external system instead a white page will be rendered.
so can anyone adivce what can be causing this ?
Thanks
Solution
A Page Viewer webpart is nothing more than an IFRAME. loading HTTP content in an HTTPS site is a security risk so it is not allowed. You can try adding a HTTPS proxy, or a using IIS URL Rewriting on the target HRWebApplication machine to "trick" the SharePoint site and load the HTTP content through that.
More info here.