Workaround for old CAs in httpclient (#6150)
Workaround for old CAs in httpclient (#6150)

* Workaround for old CAs in httpclient

See https://github.com/nahi/httpclient/issues/445.

The default implementation uses a list of CAs from 2015, and resetting
it to use default paths uses CA certificates from the underlying OS.

* Refactor for rubocop/readability

* Set proxy argument to nil

Co-authored-by: Carlgo11 <714a796e225a276651daf1be155d8c2a29373655@users.noreply.github.com>
jdavis/twofactorauth,jdavis/twofactorauth,jdavis/twofactorauth