Hi Volkan, please take a look at these issues:
https://osgeo-org.atlassian.net/browse/GEOS-7653
https://osgeo-org.atlassian.net/browse/GEOS-6818

The first one was submitted by me, it may just be that your problem is 
related to that. If so, please chime in and generate some activity for 
the issues reported there.

As an immediate workaround for your case, I believe setting up a reverse 
proxy would work. I have configured my geoserver to run behind nginx 
with https redirects, so if a bugged page requests a resource over http 
the nginx reverse proxy will provide a redirect to the https resource.

If you need specific configuration examples, please mail me directly 
(please remove "geoserver-users" from the subject).

Best,
Daniel


Em 18/11/2016 15:14, Jonathan Moules escreveu:
> Hi,
> I'd suggest this is a bug. Looking on GitHub for ol.js, it appears that
> the URL is using a variable called ${baseUrl}, though where that is set
> I have no idea (it's in lots of files).
>
> If you can report it on Jira with a reproduction case, hopefully one of
> the devs will look into it at some point (or there's commercial support
> you can get if it's important to you and you want it fixed soon):
> https://osgeo-org.atlassian.net/projects/GEOS/issues
>
> Cheers,
> Jonathan
>
>
>
> On 07/11/2016 09:58, Volkan Gümüs wrote:
>> Hello,
>>
>>
>> I'm serving my GeoServer over HTTPS.
>>
>> It looks like there are hardcoded links in GeoServer which force HTTP
>> like OpenLayers in the Layer Preview:
>>
>> Mixed Content: The page at
>> 'https://x.de/geoserver/X/wms?service=WMS&version=1.1.0&request…4014594E7&width=767&height=768&srs=EPSG:3857&format=application/openlayers'
>> was loaded over HTTPS, but requested an insecure script
>> 'http://x.de/geoserver/openlayers3/ol.js'. This request has been
>> blocked; the content must be served over HTTPS.
>>
>> How can I force GeoServer to use HTTPS?
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to