If I understand correctly what you've done with the settings, that's a browser 
issue, not a GeoServer issue. You'll have that problem with every website that 
completely disables the http port. If you allow your web server to listen on 
the http port, it may be possible to have it redirect to https automatically. 
See, e.g., https://developer.jboss.org/thread/234635 for using web.xml or 
apache.conf to rewrite http to https (have not tried myself). For web servers 
other than JBoss, you'll have to adapt the web.xml solution.

If you're using Firefox, it appears that recent versions have an https-only 
option. There are also extensions available. Just search for "default firefox 
use https" in Google and you should see your options. ( Again, I haven't 
actually tried them.) If you're using a different browser, just put that into 
the search instead of firefox.

---------------------------------------------------------------
Michael Stein, Northrop Grumman Defense Systems


From: Rob Hughes via Geoserver-users <[email protected]>
Sent: Tuesday, December 22, 2020 05:07
To: [email protected]
Subject: EXT :[Geoserver-users] Downloading a layer preview defaults to http

Hi,

We have setup our geoserver server to use https and disabled use of http. When 
I try to download a layer preview I get a "Hmmm... can't reach this page" 
error, but if I just put https:// at the front of the url the download works 
fine. So it looks like the download link is defaulting to use http://

Does anybody know how to change this to default to use https:// ?

Regards
Rob
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to