How would I go about configuring Geoserver to only load from an https address? I have been combing the web and cannot find any solution.
If you make use of a proxy, e.g. Nginx. Make sure to set the correct Proxy Url in GeoServer. If not set correctly, GeoServer will advertise with HTTP when asked for it's capabilities. You can check it yourself by opening WMS_MS_Capabilities.dtd in your browser.
https://youserver.com/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd
or
https://youserver.com/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd
I think that this question is not exactly related to geoserver.
You should configure your java application server (tomcat or whatever) to use https. Geoserver will inherit that configuration
If you are using tomcat you can try to follow this instructions. Or as stated in the comments, now geoserver doc also includes how to configure tomcat for ssl.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With