Encrypting a file using OpenSSL

To encrypt a file, run

To decrypt, use

You can use -k option to provide password in commend line itself so it won’t prompt for password.

Here is a script i use to take backup

openssl

Encrypt

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *