Expand my Community achievements bar.

java.lang.ClassCastException: sun.security.ssl.SSLContextImpl$TLS12Context cannot be cast to javax.net.ssl.SSLContextSpi

Avatar

Level 1

Hi

when I call

SSLContext tslContext = SSLContext.getInstance("TLS");

I have an Exception in Aem6

java.lang.ClassCastException: sun.security.ssl.SSLContextImpl$TLS12Context cannot be cast to javax.net.ssl.SSLContextSpi

Thanks

Pierluigi

2 Replies

Avatar

Level 10

Are you following an Adobe doc topic? Can you point the community there.