Skip to content

Resolve the discrepancy between the default value of SSL trustDefaultCerts #632

Description

@leochr

The default value of trustDefaultCerts of SSL seems to be different between the full images of OL and WL and would provide different default behaviour for trusting certificates.

OL full image's server.xml (only used by JDK 21): https://github.com/OpenLiberty/ci.docker/blob/main/releases/latest/full/server.xml
WL full image's server.xml: https://github.com/WASdev/ci.docker/blob/main/ga/latest/full/server.xml

Other relevant files that influence the default value of trustDefaultCerts:

OL:
https://github.com/OpenLiberty/ci.docker/blob/62d9f7b2ff1c3b0f36e8c1cb1b0be2d482abed36/releases/latest/full/helpers/runtime/docker-server.sh#L81
https://github.com/OpenLiberty/ci.docker/blob/main/releases/latest/full/helpers/build/configuration_snippets/trustDefault.xml

WL:

elif [ ! -z $SEC_TLS_TRUSTDEFAULTCERTS ]; then

https://github.com/WASdev/ci.docker/blob/main/ga/latest/kernel/helpers/build/configuration_snippets/trustDefault.xml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions