Additional authentication data. openssl problem decrypting passhrase-encrypted file using the derived IV, Key and Salt. Want to turn that into an answer with citations to PKCS#5/RFC 2898 and the OpenSSL EVP_BytesToKey man page? Let's try again; this time, we have the file foo_clear which we want to encrypt into foo_enc. Use a given Key . When the salt is We will use openssl command to view the content of private key: [root@centos8-1 tls]# openssl rsa -noout -text -in private/cakey.pem -passin file:mypass.enc RSA Private-Key: (4096 bit, 2 primes)