Brian Schonecker
07/07/2022, 8:20 PMBrian Schonecker
07/07/2022, 8:20 PMnatemccurdy
07/07/2022, 8:21 PMid/%{identifier_paths}.yaml
Brian Schonecker
07/07/2022, 8:22 PMramindk
07/07/2022, 8:23 PMnatemccurdy
07/07/2022, 8:24 PMramindk
07/07/2022, 8:25 PMramindk
07/07/2022, 8:26 PMramindk
07/07/2022, 8:26 PMnatemccurdy
07/07/2022, 8:26 PMramindk
07/07/2022, 8:27 PMramindk
07/07/2022, 8:28 PMBrian Schonecker
07/07/2022, 8:46 PMBrian Schonecker
07/07/2022, 8:47 PMnatemccurdy
07/07/2022, 8:47 PMBrian Schonecker
07/07/2022, 8:54 PMnatemccurdy
07/07/2022, 8:56 PMnatemccurdy
07/07/2022, 8:56 PM/etc/puppetlabs/puppet/ssl/...
before running Puppet for the first timevchepkov
07/07/2022, 8:57 PMBrian Schonecker
07/07/2022, 8:57 PMBrian Schonecker
07/07/2022, 8:58 PMnatemccurdy
07/07/2022, 9:14 PMSlackbot
07/07/2022, 9:31 PMHugh Esco
07/07/2022, 10:50 PM[main]
server = pm5.${my_domain}.com
stage = ci
[master]
masterport = 8240
report_port = 8240
vardir = /opt/puppetlabs/server/data/puppetserver
logdir = /var/log/puppetlabs/puppetserver
rundir = /var/run/puppetlabs/puppetserver
pidfile = /var/run/puppetlabs/puppetserver/puppetserver.pid
codedir = /etc/puppetlabs/code
autosign = /etc/puppetlabs/puppet/autosign.sh
[agent]
environment = ymd_infra
masterport = 8140
[server]
ca_port = 8140
ca_server = 127.0.0.1
masterport = 8240
Hugh Esco
07/07/2022, 11:33 PM{
# Allow the CA CLI to access the certificate_status endpoint
match-request: {
path: "/puppet-ca/v1/certificate_status"
type: path
method: [get, put, delete]
}
allow: {
extensions: {
pp_cli_auth: "true"
}
}
sort-order: 500
name: "puppetlabs cert status"
},
I only sign certificates from localhost for the puppetserver / certificate authority. How should that be configured to allow me to do the deed?natemccurdy
07/08/2022, 12:23 AMpp_cli_auth
default allow rule was added in Puppetserver 6 as a default, and all new installs of a Puppetserver at version 6+ will generate that extension by default.
How is your containerâs cert generated? Maybe itâs an old one from before Puppet 6?
Either way, your two options are:
1) Add the certname of your CA Puppetserver to that allow list, replacing the existing value. Like allow: <certname_here>
2) Add the extension to your puppetserverâs cert with something like this: https://github.com/smortex/puppet-add-cli-auth-to-certificateSlackbot
07/08/2022, 8:34 AMSlackbot
07/08/2022, 1:03 PMAllahshukur Ahmadzada
07/08/2022, 1:05 PMAllahshukur Ahmadzada
07/08/2022, 3:26 PM