HomeSoftware Heritage

Check CA path when creating the CA cert

Description

Check CA path when creating the CA cert

When starting a new puppetserver as CA with existing CA files, the current code
tries to perform 'puppetserver ca setup' because the puppetserver's cert does
not exist yet. However, that command fails because the CA cert files exist and
can, correctly, not be overwritten.

This change checks for the CA cert, instead of the server's own cert.

Details

Provenance
Stefan Goethals <stefan@zipkid.eu>Authored on May 27 2020, 11:39 AM
GitHub <noreply@github.com>Committed on May 27 2020, 11:39 AM
olasdPushed on Oct 13 2020, 3:46 PM
Parents
rSPPUP8dcd89db11f5: Release 14.0.0
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rSPPUP34d53f78dfd6: Check CA path when creating the CA cert (authored by Stefan Goethals <stefan@zipkid.eu>).May 27 2020, 11:39 AM