search for: custom_attr

Displaying 1 result from an estimated 1 matches for "custom_attr".

2014 Feb 17
0
Custom policy executable
Hi, I'm trying to create an autosign policy which checks for a custom attribute in the CSR but I'm having some issue with the master not signing the request. My client has the following in /etc/puppet/csr_attributes.yaml custom_attributes: 1.2.840.113549.1.9.7: foo My policy is a simple bash script, in this case checking for foo #!/bin/bash CUSTOM_ATTR=$(echo "$(cat)" | grep "challengePassword" | awk -F ":" '{print$2}') if [[ "$CUSTOM_ATTR" == "foo" ]] then...