-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve way to specify the private HTTPS port with the container so the Administration Web links uses the right port #103
Comments
I believe it currently is a known issue that the admin web link assumes the default ports are being used. The port for the link can be changed in /opt/signserver/conf/signserver_deploy.properties changing to:
Then when starting the container you can mount in your modified version of signserver_deploy.properties:
Then the link should use what you have set in the config file (i.e. 8443). Not sure if a container could be made aware of what port mappings are used and if we then could set the right port automagically. Otherwise, maybe we could introduce some ENV variable where the correct port could be specified so that mounting in the conf file would not be necessary. |
Or maybe just use a relative path like for the other links and if you want to ensure this path is only access via https, ensure this otherwise? |
Relative paths are not enough as the point with the Administration Web link is to use HTTPS and the port that can accept client-certificate authentication. I think this is something that the one starting the container will need to provide as this depends on the port-mappings provided with your |
I started SignServer CE from the docker image using
Then I tried to access
https://localhost:8443/signserver/
.The page loads properly, but the link to "Administration Web" is not correct, it uses port 443:

The text was updated successfully, but these errors were encountered: