Hi,

I don't think the documentation is wrong. startup.sh is using the HTTPS_ENABLED and HTTPS_KEYSTORE_FILE environment variables.

The other two environment variables are used in this file: https://github.com/geoserver/docker/blob/master/config/server-https.xml#L96-L99

As you can see in the startup.sh, there is a "envsubst" exactly for this server-https.xml file.

Hope this helps to understand what is happening here.

Nils


On 7/2/24 12:54, emmexx wrote:
I lost half a day trying to understand why the docker container didn't work when trying to use https.

I found out that the docs and the startup.sh script don't match. The documentation at

https://github.com/geoserver/docker?tab=readme-ov-file#how-to-enable-https

references variables that are not present in the startup.sh file in the container in 2.25.2.

The github startup.sh file instead references those variables:

https://github.com/geoserver/docker/blob/master/startup.sh

I don't know if that is related to the vulnerabilities disclosed last week.

    maxx



_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to