HomePhorge

(#8858) Explicitly set SSL peer verification mode.
3a0624628c66Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8858) Explicitly set SSL peer verification mode.

In Ruby 1.8 the Net::HTTP library defaults to skipping peer verification when
no mode is explicitly set. Ruby 1.9, on the other hand, does not: it defaults
to verification of the peer certificate - leading to failure when we depended
on the default value in our HTTP setup.

This changes to explicitly set the verification mode, ensuring we get
consistent results across all Ruby versions.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcd4bee829fe2: Test SSL setup code, not our stubbing of it.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU3a0624628c66: (#8858) Explicitly set SSL peer verification mode. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jun 4 2012, 4:58 AM