I have a problem while doing SSL connection through spray. I got the following error:
[SSLException:Unrecognized SSL message, plaintext connection?]
and I found an answer here.
So, how can I add the following to the JAVA_OPTS environment variable?
-Djsse.enableSNIExtension=false
I am using Ubuntu 16.04 LTS.