man > dgst(1ssl)

📖 NAME

🔑 asn1parse, ca, ciphers, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, spkac, srp, storeutl, ts, verify, version, x509 — OpenSSL application commands

🚀 Quick Reference

Use CaseCommandDescription
🔑 Generate RSA private keyopenssl genrsa -out key.pem 2048Creates a 2048-bit RSA private key
🔑 Generate ECDSA private keyopenssl ecparam -genkey -name prime256v1 -out key.pemGenerates an ECDSA key for elliptic curve crypto
📝 Create CSRopenssl req -new -key key.pem -out csr.pemGenerates a Certificate Signing Request
📜 Self-sign a certificateopenssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365Creates a self-signed certificate valid for 365 days
🔍 Display certificate detailsopenssl x509 -in cert.pem -text -nooutPrints full certificate information
🔒 Encrypt/decrypt a fileopenssl enc -aes-256-cbc -salt -in file -out file.encSymmetric encryption with AES-256-CBC
🧮 Compute message digestopenssl dgst -sha256 fileGenerates SHA-256 hash of file
🌐 Test TLS connectionopenssl s_client -connect host:portTests SSL/TLS handshake with a remote server
✅ Verify certificate chainopenssl verify -CAfile ca.pem cert.pemValidates certificate against a CA bundle
🔄 Convert PEM to DERopenssl x509 -in cert.pem -outform DER -out cert.derChanges certificate encoding format
â„šī¸ Check OpenSSL versionopenssl versionDisplays installed OpenSSL version and build info
📊 Benchmark algorithmsopenssl speedRuns performance benchmarks for crypto algorithms

📝 SYNOPSIS

openssl cmd -help | [-option | -option arg] ... [arg] ...

📖 DESCRIPTION

Every cmd listed above is a (sub-)command of the openssl(1) application. It has its own detailed manual page at openssl-cmd(1). For example, to view the manual page for the openssl dgst command, type "man openssl-dgst".

âš™ī¸ OPTIONS

Among others, every subcommand has a help option.

👀 SEE ALSO

📜 HISTORY

Initially, the manual page entry for the "openssl cmd" command used to be available at cmd(1). Later, the alias openssl-cmd(1) was introduced, which made it easier to group the openssl commands using the apropos(1) command or the shell's tab completion.

In order to reduce cluttering of the global manual page namespace, the manual page entries without the 'openssl-' prefix have been deprecated in OpenSSL 3.0 and will be removed in OpenSSL 4.0.

ÂŠī¸ COPYRIGHT

Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.

dgst(1ssl)
📖 NAME 🚀 Quick Reference 📝 SYNOPSIS 📖 DESCRIPTION âš™ī¸ OPTIONS 👀 SEE ALSO 📜 HISTORY ÂŠī¸ COPYRIGHT

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 14:35 @216.73.216.75
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!