PIM issue I tried PIM for the first time (multiple...
# puppet-enterprise
k
PIM issue I tried PIM for the first time (multiple times) yesterday to bootstrap a prototyping VM for validating backup/recovery and other testing…. It didn’t go well. I tried running with parameters, and that always failed seemingly when setting up ca;
Copy code
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.730-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Error:
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.730-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/gs-eim-protopuppet.inf.earthdata.nasa.gov.pem
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.731-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: Missing public key to match private key at /etc/puppetlabs/puppet/ssl/private_keys/gs-eim-protopuppet.inf.earthdata.nasa.gov.pem
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.731-04:00 - [Error]: '/opt/puppetlabs/bin/puppetserver ca setup --certname gs-eim-protopuppet.inf.earthdata.nasa.gov --ca-name 'Puppet Enterprise CA generated at +2025-08-13 19:47:46 -0400' --subject-alt-names 'puppet'' returned 1 instead of one of [0]
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.732-04:00 - [Error]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate ca cert]/returns: change from 'notrun' to ['0'] failed: '/opt/puppetlabs/bin/puppetserver ca setup --certname gs-eim-protopuppet.inf.earthdata.nasa.gov --ca-name 'Puppet Enterprise CA generated at +2025-08-13 19:47:46 -0400' --subject-alt-names 'puppet'' returned 1 instead of one of [0]
2025-08-13T19:50:41-04:00   2025-08-13T19:49:35.733-04:00 - [Notice]: /Stage[main]/Pe_install::Prepare::Certificates/Exec[generate node cert]: Dependency Exec[generate ca cert] has failures: true
I tried removing altnames element from parameters.json, and that didn’t fix it. I’m trying the wizard now…
m
Hi @kelvin Our support team can help as well. If you open a support case they will be able to assist.
k
I haven’t re-validated, but I think the issue was that I had a configured puppet-agent (or at least installed). I uninstalled the puppet-agent and re-ran manual pim with parameter file and -b tmpdir=/root/tmp (because federal system configurations do the noexec on /tmp)
Thanks for reaching out.
m
Of course, we are here to help as you need it.