Closed anders-larsson closed 9 months ago
To avoid breaking compatibility I'll change it to false by default instead of true. This will avoid us having to release a new major release until we have more breaking changes to do.
Haven't been able to figure out if it's possible to spec test options for OpenSSL yet though. Would probably be a nice additional to actually test whether it's enabled or not.
Tested this functionality with a real Puppet run. Works correctly to switch on TLS verification.
Previously OpenSSL::SSL::VERIFY_NONE was enabled by default. It really shouldn't to be honest. Added a parameter with default
true
(previous default would've been false if it existed). Probably requires a major release.It's either this or remove the "functionality" altogether (would regardless be a new major release I guess)? You really shouldn't do unverified TLS connections.