Why I can't use openssl decrypt command to decrypt an encrypted string from RHEL7?
Issue
- Facing the below error when I use openssl to decrypt an encrypted string from RHEL7 in RHEL8.
bad decrypt
140480067479360:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:crypto/evp/evp_enc.c:643:
Environment
- Red Hat Enterprise Linux 7 and openssl 1.0.2k.
- Red Hat Enterprise Linux 8 and openssl 1.1.1k.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.