How to encrypt a file with openssl des3 on RHEL8 and to decrypt it on RHEL7

Solution Unverified - Updated -

Issue

  • I tried to encrypt a file on Red Hat Enterprise Linux 8 as below.
# openssl des3 -pass pass:0123456789 -in test.txt -out test.txt.des3
  • After copying it into Red Hat Enterprise Linux 7 server, I got an error to decrypt it after I input a correct password.
# openssl des3 -d -in test.txt.des3 -out test.txt

Environment

Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In