consensusj icon indicating copy to clipboard operation
consensusj copied to clipboard

Improve SSL configuration options for RPCClient

Open msgilligan opened this issue 10 years ago • 0 comments

Currently all certificate checking is disabled to allow unit testing over SSL with self-signed certificates.

A relative easy and short-term fix is to read the (currently hardcoded to false) disableSslVerification from a system property.

A better solution would be to create (enable creation of) a custom SSLSocketFactory that is easily configurable at runtime. This StackOverflow Q&A looks helpful.

msgilligan avatar Oct 13 '15 07:10 msgilligan