Skip to content

Commit

Permalink
Merge pull request #146 from tuxmea/fix_ca_ttl
Browse files Browse the repository at this point in the history
fix ca ttl setting.
  • Loading branch information
bastelfreak authored Jan 21, 2025
2 parents b342caf + 2a76ad8 commit ee3498f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions puppetserver/docker-entrypoint.d/90-ca.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ EOF
hocon -f webserver.conf set webserver.ssl-crl-path $ssl_crl_path
cd /

puppet config set --section server ca_ttl "${CA_TTL}"

# bootstrap certs for the puppetserver
if [[ ! -f "$ssl_cert" ]]; then
while ! ca_running; do
Expand All @@ -44,6 +42,7 @@ EOF
fi
else
# we are the CA
puppet config set --section server ca_ttl "${CA_TTL}"
hocon -f /etc/puppetlabs/puppetserver/conf.d/ca.conf \
set certificate-authority.allow-subject-alt-names "${CA_ALLOW_SUBJECT_ALT_NAMES}"

Expand Down

0 comments on commit ee3498f

Please sign in to comment.