Mark Berning
02/17/2023, 7:35 PMTim
02/17/2023, 8:54 PMEvil Ware
02/18/2023, 2:18 PMEvil Ware
02/18/2023, 2:20 PMMark Berning
02/20/2023, 8:20 PMMark Berning
02/20/2023, 8:55 PMEvil Ware
02/21/2023, 1:33 PMEvil Ware
02/21/2023, 1:38 PMMark Berning
02/21/2023, 3:29 PMI/O Exception: sun.security.validator.ValidatorException: PKIX path building failed:
I/O Exception: peer not authenticated
But we are not getting those "specific" errors, granted could still be related.
I think it is related to the crypto algorithms.
None of the ColdFusion logs describe any error - they make the https request but don't see an error, we just get back an error in the response I/O Exception: Could not derive key
This is our current JVM settings:
-server -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.util.cldr=ALL-UNNAMED --add-opens=java.base/sun.util.locale.provider=ALL-UNNAMED -XX:MaxMetaspaceSize=192m -XX:+UseParallelGC -Djdk.attach.allowAttachSelf=true -Dcoldfusion.home={application.home} -Djava.security.egd=/dev/urandom -Duser.language=en -Dcoldfusion.rootDir={application.home} -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog -Djava.util.logging.config.file={application.home}/lib/logging.properties -Djava.locale.providers=COMPAT,SPI -Dsun.font.layoutengine=icu -Dlog4j2.formatMsgNoLookups=true -Dcoldfusion.datemask.useDasdayofmonth=true -Dcoldfusion.xml.allowPathCharacters=true -Dhttps.protocols="TLSv1,TLSv1.1,TLSv1.2"
I have tried to remove the https.protocols completely
I have added -Djdk.tls.client.protocols=TLSv1.2
Mark Berning
02/21/2023, 3:31 PMMark Berning
03/20/2023, 11:53 AM<!--- rearrange security libs to avoid SSL error on some certs --->
<cfif NOT isDefined("application.jsafeFix")>
<cfset objSecurity = createObject("java", "java.security.Security") />
<cfset storeProvider = objSecurity.getProvider("JsafeJCE") />
<cfset objSecurity.removeProvider("JsafeJCE") />
<cfset objSecurity.insertProviderAt(storeProvider, 2) />
<cfset application.jsafeFix = true />
</cfif>