Task #8674
closedTuna Atlas GeoServer - OpenLayers preview doesn't work under https
100%
Description
Hello,while testing WMS layers for the Tuna Atlas, we realized that the OpenLayers layer preview (usually used to check layers by Geoserver data manager) was not working. Looking carefully, it appears that the web-app resources (js, css) are not loaded because served as http (while the geoserver is running as https), and then blocked by browsers.
Could you have a look to this? If there is a solution, either:
• to make it work under https (with resources loaded from https)
• or eventually if it is possible to run also Geoserver as http (at least for its management through GUI) which would solve the issue. Today is not possible because url is rewriten from http to https.
Thanks in advance!
Extract from the chrom dev tools:
Mixed Content: The page at 'https://geoserver-tunaatlas.d4science.org/geoserver/tunaatlas/wms?service=W…80.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers' was loaded over HTTPS, but requested an insecure stylesheet 'http://geoserver-tunaatlas.d4science.org/geoserver/openlayers3/ol.css'. This request has been blocked; the content must be served over HTTPS.
wms?service=WMS&version=1.1.0&request=GetMap&layers=tunaatlas:atl_catch_tunaatlasird_5deg_1m_1950_0…:1
Mixed Content: The page at 'https://geoserver-tunaatlas.d4science.org/geoserver/tunaatlas/wms?service=W…80.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers' was loaded over HTTPS, but requested an insecure script 'http://geoserver-tunaatlas.d4science.org/geoserver/openlayers3/ol.js'. This request has been blocked; the content must be served over HTTPS.