java.lang.ClassCastException: sun.security.ssl.SSLContextImpl$TLS12Context cannot be cast to javax.net.ssl.SSLContextSpi | Community
Skip to main content
New Participant
Oct 13, 2017 6:53 AM UTC

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

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
Oct 13, 2017 2:50 PM UTC

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

Translate
New Participant
Oct 13, 2017 3:23 PM UTC

Sorry I don't know where.
Thanks for help.

Translate