Apr
29

Generate checksum of file with openssl

Posted in : openssl, chef, and checksum

Here’s how to generate checksums of file using OpenSSL:

# SHA256, used in chef cookbooks
openssl dgst -sha256 path/to/myfile

# MD5
openssl dgst -md5 path/to/myfile
blog comments powered by Disqus