Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- state:
- salt://haproxy_confd/files/make-ssl-cert.sh:
- cmd.script:
- - kwargs: {
- country: {{cert_details['country']}},
- state: {{cert_details['state']}},
- organization: {{cert_details['organization']}},
- locality: {{cert_details['locality']}},
- commonname: {{cert_details['common_name']}},
- orgunit: {{cert_details['org_unit']}},
- email: {{cert_details['email']}}
- }
- shell script:
- # A blank passphrase
- PASSPHRASE=""
- # Set our CSR variables
- SUBJ="
- C=$country
- ST=$state
- O=$organization
- localityName=$locality
- commonName=$domain
- organizationalUnitName=$orgunit
- emailAddress=$email
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement