I'm new to GeoServer and recently I've managed to enable SSL on Tomcat using
a signed certificate and I am able to access and login to GeoServer
(https://<mydomain>:8443/geoserver/web) and view the maps as usual. I also
have an external OpenLayers map (basically like this example: http://geoserver.geo-solutions.it/edu/en/use_ol/ol_map.html) that queries
GeoServer's WMS service for loading layers which works fine under http but
unfortunately not over https. I noticed in Firebug that for every request to
the WMS endpoint at https://<mydomain>:8443/geoserver/wms the response is a
"501 Not Implemented". If I set the endpoint to
http://<mydomain>:8080/geoserver/wms the layers load normally.
Is there a configuration that I am missing? How do I make WMS working with
OpenLayers over SSL?
Hello Tukang,
I don’t think this is an errori specific to GeoServer or WMS, it seems to me more likely a client issue. Maybe you should try to get more info on the OpenLayers mailing list.
My guess is that the browser is not able to recognize the certificate and you get a worning.
Maybe a possible solution could be to use a proxy that downloads the tiles from the secured connection and send them back to your client over HTTP unless you have specific security constraints on the image contents.
···
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK for more information.
I’m new to GeoServer and recently I’ve managed to enable SSL on Tomcat using
a signed certificate and I am able to access and login to GeoServer
(https://:8443/geoserver/web) and view the maps as usual. I also
have an external OpenLayers map (basically like this example: http://geoserver.geo-solutions.it/edu/en/use_ol/ol_map.html) that queries
GeoServer’s WMS service for loading layers which works fine under http but
unfortunately not over https. I noticed in Firebug that for every request to
the WMS endpoint at https://:8443/geoserver/wms the response is a
“501 Not Implemented”. If I set the endpoint to
http://:8080/geoserver/wms the layers load normally.
Is there a configuration that I am missing? How do I make WMS working with
OpenLayers over SSL?
Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech