Skip to content

Commit

Permalink
Use /dev/stdin instead of -, which seems to be only supported by newe…
Browse files Browse the repository at this point in the history
…r openssl versions.
  • Loading branch information
felixfontein committed Oct 11, 2020
1 parent b4ac5ec commit d09d2c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/targets/openssl_csr_pipe/tasks/impl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
register: privatekey_modulus

- name: "({{ select_crypto_backend }}) Validate CSR (test - Common Name)"
shell: "openssl req -noout -subject -in - -nameopt oneline,-space_eq"
shell: "openssl req -noout -subject -in /dev/stdin -nameopt oneline,-space_eq"
args:
stdin: "{{ generate_csr.csr }}"
register: csr_cn

- name: "({{ select_crypto_backend }}) Validate CSR (test - csr modulus)"
shell: 'openssl req -noout -modulus -in -'
shell: 'openssl req -noout -modulus -in /dev/stdin'
args:
stdin: "{{ generate_csr.csr }}"
register: csr_modulus
Expand Down

0 comments on commit d09d2c2

Please sign in to comment.