HomePhorge

(#7224) Add a helper to Puppet::SSL::Certificate to retrieve alternate names
7460a5e5229bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#7224) Add a helper to Puppet::SSL::Certificate to retrieve alternate names

Alternate names, if present, are specified in the subjectAltName extension of
the certificate. The values are in the form:

"DNS:alternate_name1, DNS:alternate_name2"

This helper will retrieve the value of the subjectAltName extension and extract
the alternate names, returning and empty list if the extension is absent. This
will make it easier to access the entire list of possible names for a
certificate, rather than just the common name; this is helpful for generating
more detailed SSL error messages.

Paired-With: Jacob Helwig <jacob@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU94345ebac6d7: (#2848) Rewrite SSL Certificate Factory, fixing `subjectAltName` leak.
Branches
Unknown
Tags
Unknown

Event Timeline