diff --git a/integration-test/test/config-setup-dehydrated.sh b/integration-test/test/config-setup-dehydrated.sh index 90ffdc6..f01c6a1 100755 --- a/integration-test/test/config-setup-dehydrated.sh +++ b/integration-test/test/config-setup-dehydrated.sh @@ -7,7 +7,7 @@ set -x CONFIG_CSR_DIR=$(dirname "${CONFIG_CSR_PATH}") mkdir -p "${CONFIG_CSR_DIR}" openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 | \ - openssl req -new -subj "/CN=${CONFIG_CERT_CN}/" -key - -out "${CONFIG_CSR_PATH}" + openssl req -new -subj "/CN=${CONFIG_CERT_CN}/" -key /dev/stdin -out "${CONFIG_CSR_PATH}" CONFIG_DEHYDRATED_CONF_DIR=$(dirname "${CONFIG_DEHYDRATED_CONF_PATH}") mkdir -p "${CONFIG_DEHYDRATED_CONF_DIR}"