Skip to content

Commit 3a678e2

Browse files
committed
Use -Dweblogic.ssl.AcceptKSSDemoCertsEnabled=true in testJRFDomainAdminPortEnabled test
1 parent f018c1e commit 3a678e2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/JrfInOperatorAdvancedTest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,12 +286,13 @@ public void testJRFDomainAdminPortEnabled() throws Exception {
286286
domain1Map.put(
287287
"createDomainPyScript",
288288
"integration-tests/src/test/resources/domain-home-on-pv/create-jrfdomain-admin-port-enabled.py");
289-
// Disables host name verification, which enables you to use the demonstration digital
290-
// certificates that are shipped with WebLogic Server.
291-
// https://docs.oracle.com/middleware/12213/wls/ADMRF/weblogicserver.htm#ADMRF202
289+
// Use -Dweblogic.ssl.AcceptKSSDemoCertsEnabled=true so that managed servers can connect
290+
// to admin server using SSL without running into host name verifcation check error
291+
// in default JRF domain that uses KSS demo identity and trust
292+
// https://docs.oracle.com/middleware/12213/wls/SECMG/kss.htm#SECMG673tm#ADMRF202
292293
domain1Map.put(
293294
"javaOptions",
294-
"-Dweblogic.StdoutDebugEnabled=false -Dweblogic.security.SSL.ignoreHostnameVerification=true");
295+
"-Dweblogic.StdoutDebugEnabled=false -Dweblogic.ssl.AcceptKSSDemoCertsEnabled=true");
295296

296297
// run RCU script to load db schema
297298
DBUtils.runRCU(rcuPodName, domain1Map);

0 commit comments

Comments
 (0)