Advertisement
Guest User

Untitled

a guest
Aug 16th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. state:
  2.  
  3. salt://haproxy_confd/files/make-ssl-cert.sh:
  4. cmd.script:
  5. - kwargs: {
  6. country: {{cert_details['country']}},
  7. state: {{cert_details['state']}},
  8. organization: {{cert_details['organization']}},
  9. locality: {{cert_details['locality']}},
  10. commonname: {{cert_details['common_name']}},
  11. orgunit: {{cert_details['org_unit']}},
  12. email: {{cert_details['email']}}
  13. }
  14.  
  15.  
  16.  
  17. shell script:
  18.  
  19. # A blank passphrase
  20. PASSPHRASE=""
  21.  
  22. # Set our CSR variables
  23. SUBJ="
  24. C=$country
  25. ST=$state
  26. O=$organization
  27. localityName=$locality
  28. commonName=$domain
  29. organizationalUnitName=$orgunit
  30. emailAddress=$email
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement