After upgrading CA Access Gateway (SPS) from 12.8 SP7 to 12.9, the SPS throws the following error when attempting to reach an OIDC endpoint over TLS/SSL:
Jun 11, 2026 7:00:11 PM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [bctokencontroller] in context with path [/affwebservices] threw exception [Servlet execution threw an exception] with root cause java.lang.IllegalAccessError: class com.netegrity.srca.connection.SSLHandler (in unnamed module @0x29b00f1b) cannot access classsun.net.www.protocol.http.HttpURLConnection (in module java.base) because modulejava.base does not export sun.net.www.protocol.http to unnamed module @0x29b00f1b at com.netegrity.srca.connection.SSLHandler.startSession(Unknown Source) at com.netegrity.srca.Srca.invoke(Unknown Source) ...
This error happens after having configured an Authentication Scheme that integrate IDSP. The CA Access Gateway (SPS) reaches IDSP using a proxy.
JDK 17 enforces the Java Platform Module System (JPMS) introduced in Java 9.
The internal package sun.net.www.protocol.http is no longer exported by the java.base module to unnamed modules by default.
The SSLHandler class in SPS 12.9 relies on direct access to this internal JDK class, which is blocked under JDK 17 without an explicit export directive (1).
Permanent fix: Upgrade CA Access Gateway (SPS) to 12.9 SP1 (12.9.1) or later once that version becomes available.
Workaround for CA Access Gateway (SPS) 12.9:
Add the following JVM argument to proxyserver.sh:
SPS_TOMCAT_OPTS="$SPS_TOMCAT_OPTS --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED"
Steps: