Seeing an issue with asynchttpclient 1.8.X where doesn't handle the -Djavax.net.ssl.keyStore=NONE option. I do see that the 1.9.11 SslUtils does handle this property.
Can the 1.8.X code do something similar to whats being done in 1.9.11? return SSLContext.getDefault() instead?
This is the stacktrace for 1.8.X
Thanks and Regards,
--Vikas
java.lang.IllegalStateException:
java.io.FileNotFoundException: NONE (No such file or directory)
at
com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider.initializeTransport(GrizzlyAsyncHttpProvider.java:390)
at
com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider.<init>(GrizzlyAsyncHttpProvider.java:198)
.....
at
java.lang.Thread.run(Thread.java:857)
Caused by:
java.io.FileNotFoundException: NONE (No such file or directory)
at
java.io.FileInputStream.open(Native Method)
at
java.io.FileInputStream.<init>(FileInputStream.java:138)
at
java.io.FileInputStream.<init>(FileInputStream.java:97)
at
com.ning.http.util.SslUtils.getStrictSSLContext(SslUtils.java:70)
at
com.ning.http.util.SslUtils.getSSLContext(SslUtils.java:61)
at
com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider.initializeTransport(GrizzlyAsyncHttpProvider.java:388)
...
12 more