diff --git a/core_sign_update b/core_sign_update index 71feec08d80..cce8aad5033 100755 --- a/core_sign_update +++ b/core_sign_update @@ -136,8 +136,7 @@ i=1 signature_sizes="" for key in "${private_keys[@]}"; do if [[ "${key}" == pkcs11* ]]; then - # NOTE: When we will use OpenSSL 3: use the following URI: pkcs11:id=%${ID}?pin-source=file:/tmp/pin - openssl pkeyutl -engine pkcs11 -sign -keyform engine -inkey "${key}" -in update.pkcs11-padhash -out "update.sig.${i}" + OPENSSL_CONF=/etc/ssl/pkcs11.cnf openssl pkeyutl -engine pkcs11 -sign -keyform engine -inkey "${key}" -in update.pkcs11-padhash -out "update.sig.${i}" elif [[ "${key}" == fero* ]]; then fero-client \ --address $FLAGS_signing_server_address \