You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resolve the discrepancy between the default value of SSL trustDefaultCerts #632
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.
@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.
Activity
kabicin commentedon Oct 17, 2024
@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.xmlbecause of line<ssl id="defaultSSLConfig" trustDefaultCerts="true" />which is seen as a double-declaration from config already applied indocker-server.shleading to this message:This indicates that the trustDefaultCerts will be set to
SEC_TLS_TRUSTDEFAULTCERTSwhich upon inspection is also set totrueand in line with what the Java 21 OL server.xml is setting.