Geoserver login forms not sending to https
Closed this issue · 2 comments
I have set up a geoserver within a K8S environment. As base, I use the official docker image. The server is reachable internally via https and will, when fully configured, be publicly accessible.
When I try to login to geoserver (lets say under the url 'https://geoserver.institute.com'), I see the default entry page, but i cannot login, because the login form points to 'http://geoserver.institute.com/geoserver/j_spring_security_check' (http, not https).
However, I can change the html content to send the request to https. Doing so enables me to successfully log in. Since this is quite a dirty hack, I would appreciate a solution.
Thank you in advance!
By your description it looks like you stumbled into a bug in geoserver. There is an associated ticket in geoserver's ticketing system and has been resolved in in the development branch.
The fix will be included in he upcoming GeoServer 2.20 stable release which will happen in about a week. You can try upgrading once 2.20 is out.
Alright, thanks for the heads up!