Project

General

Profile

Actions

Task #8674

closed

Tuna Atlas GeoServer - OpenLayers preview doesn't work under https

Added by Emmanuel Blondel over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
_InfraScience Systems Engineer
Category:
-
Target version:
Start date:
May 17, 2017
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

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.

https://geoserver-tunaatlas.d4science.org/geoserver/tunaatlas/wms?service=WMS&version=1.1.0&request=GetMap&layers=tunaatlas:atl_catch_tunaatlasird_5deg_1m_1950_01_01_2016_01_01_l1&styles=&bbox=-180.0,-90.0,180.0,90.0&width=768&height=384&srs=EPSG:4326&format=application/openlayers

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.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)