Fix openssl_certificate test for newer openssl.

pull/38313/head
Matt Clay 7 years ago
parent 4165bb308b
commit 534e9e142b

@ -7,7 +7,7 @@
register: cert_modulus
- name: Validate certificate (test - issuer value)
shell: 'openssl x509 -noout -in {{ output_dir}}/cert.pem -text | grep "Issuer" | sed "s/.*: \(.*\)/\1/g"'
shell: 'openssl x509 -noout -in {{ output_dir}}/cert.pem -text | grep "Issuer" | sed "s/.*: \(.*\)/\1/g; s/ //g;"'
register: cert_issuer

Loading…
Cancel
Save