asynchttpclient 1.8.X does not handle the -Djavax.net.ssl.keyStore=NONE option

31 views
Skip to first unread message

Vikas Varma

unread,
Mar 4, 2015, 10:38:05 AM3/4/15
to asyncht...@googlegroups.com
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

Stéphane LANDELLE

unread,
Mar 4, 2015, 10:47:21 AM3/4/15
to asyncht...@googlegroups.com
1.8.x is frozen, except for community contributions.

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "asynchttpclient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynchttpclie...@googlegroups.com.
To post to this group, send email to asyncht...@googlegroups.com.
Visit this group at http://groups.google.com/group/asynchttpclient.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages