java.lang.ClassCastException: sun.security.ssl.SSLContextImpl$TLS12Context cannot be cast to javax.net.ssl.SSLContextSpi | Community
Skip to main content
October 13, 2017

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

  • October 13, 2017
  • 1 reply
  • 1165 views

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.

1 reply

smacdonald2008
Level 10
October 13, 2017

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

October 13, 2017

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