Fix openssl_certificate test for newer openssl.
This commit is contained in:
parent
4165bb308b
commit
534e9e142b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue