Skip to content

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

Open

Description

Activity

  1. self-assigned this
    on Sep 12, 2024
  2. kabicin commented on Oct 17, 2024

    @kabicin
    Contributor

    @leochr I validated that the default behaviour for both full OL and WL images is to trust default certs and there is no discrepancy.

    Instead there is a warning message on OL stemming from the server.xml because of line <ssl id="defaultSSLConfig" trustDefaultCerts="true" /> which is seen as a double-declaration from config already applied in docker-server.sh leading to this message:

    Property trustDefaultCerts has conflicting values:
    Value true is set in file:/opt/ol/wlp/usr/servers/defaultServer/server.xml.
    Value ${SEC_TLS_TRUSTDEFAULTCERTS} is set in file:/opt/ol/wlp/usr/servers/defaultServer/configDropins/overrides/truststore.xml.
    Property trustDefaultCerts will be set to ${SEC_TLS_TRUSTDEFAULTCERTS}.
    

    This indicates that the trustDefaultCerts will be set to SEC_TLS_TRUSTDEFAULTCERTS which upon inspection is also set to true and in line with what the Java 21 OL server.xml is setting.

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