[PATCH 6.6 388/393] sign-file,extract-cert: use pkcs11 provider for OPENSSL MAJOR >= 3