An example showing how to setup an HttpClient that uses the
Default SSLContext
to make an example request against a secure host on the public internet.
For most people, this will be using the default Protocols, CipherSuites and Certificate bundles that come with the
system and/or JDK. This should be doing the 'right thing' in most cases, but of course, this depends on the specifics
of how the system and/or JDK has been installed or configured.
IMPORTANT:
We are not security experts and you should do your own research or consult an expert when configuring your own
secure HttpClients for Production use.