Multiple OpenSSL RSA signing methods produce different results
问题 Trying to wrap my head around signing and use/test various options. I can sign using this command: openssl dgst -sha256 -sign private_key.pem -binary -out sig_file data_file But the documentation seems to say that I can also use this method openssl dgst -sha256 -binary data_file > hash_file openssl rsautl -sign -inkey private_key.pem -keyform PEM -in hash_file > sig_file2 But the signatures are different when I\'d expect them to be identical. Either I missed something in the options or