HomePhorge

(#7110) Better SSL error message certificate doesn't match key
b466c1801844Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7110) Better SSL error message certificate doesn't match key

Previously, any error with the certificate retrieved from the master
matching the agent's private key would give the same static error
message, which wasn't particularly helpful. This commit differentiates
three different error cases: missing certificate, missing private key,
and certificate doesn't match private key. In the last case, the error
message includes the fingerprint of the certificate in question and
explicit command line instructions on how to fix the problem.

In addition to all tests passing, I tested the error messaging and
included instructions in a virtual machine setup running PE 2.0.0.

Details

Provenance
Joshua Harlan Lifton <lifton@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU3406081b3d91: Merge branch 'tickets/master/10064'
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Harlan Lifton <lifton@puppetlabs.com> committed rPUb466c1801844: (#7110) Better SSL error message certificate doesn't match key (authored by Joshua Harlan Lifton <lifton@puppetlabs.com>).Dec 8 2011, 12:52 AM