OpenSSL
A widely used toolkit and library for cryptography and TLS, including the openssl command-line tool.
In more detail
Many languages and servers build their cryptography on it, so its security updates matter to all of them. The openssl command creates keys and certificates, encrypts data and computes hashes such as SHA-256 with its dgst subcommand.
Examples
openssl dgst -sha256 -binary requirements.lock | openssl dgst -sha256 -ropenssl verify -CAfile ca.pem srv.pemThe course uses openssl req to create keys and requests, openssl x509 to sign and inspect certificates, and openssl verify to check a chain.openssl versionopenssl genpkey -algorithm ed25519 -out alice.keyNode.js is built with OpenSSL, which provides node:crypto and node:tls; process.versions.openssl shows the version.Related terms
- digital signature — A value computed from data and a secret key that lets anyone with the matching verification key confirm the data came from the key holder and was not changed.
- AES — The Advanced Encryption Standard: the widely used symmetric encryption algorithm standardised by NIST.
- SHA-256 — A widely used hash function that turns any data into a 256-bit fingerprint, shown as 64 hexadecimal characters.
- shasum — A command-line tool that prints the SHA checksum of files, with -a 256 selecting SHA-256.
- hashFiles — A workflow expression function that returns one SHA-256 hash for the files matching a pattern.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
- certificate authority — A trusted party that signs certificates, so anyone who trusts it can trust the certificates it issued.
- openssl genpkey — The OpenSSL subcommand that generates a new private key, such as an Ed25519 or RSA key, and writes it to a file.
- openssl pkeyutl — The OpenSSL subcommand that performs one public-key operation with a key file: sign, verify, encrypt, decrypt or derive a shared secret.
- libcrypto — OpenSSL's core cryptography library, which programs call to encrypt, hash, sign and generate keys.
- TLS — The encryption that protects data travelling over a network, the S in HTTPS.
- cryptography — The mathematics and techniques used to keep data secret, prove it has not been changed and prove who sent it.
Taught in
- KMS And Envelope Encryption: Who Can Still Decrypt? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Scanning Code, Dependencies And Containers — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- Speeding Up Builds: Caching Dependencies — Continuous Integration & Continuous Delivery Pipelines
- Ingress TLS: When The Padlock Lies — Certified Kubernetes Security Specialist (CKS) Exam Prep
- SBOMs: Knowing What You Ship — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Scan Reports: Triage, Gates And Cleanup — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Supply Chain Security: SBOMs & Cosign Signing — Cloud Security & DevSecOps Engineering
- Container Hardening: Distroless & Rootless — Cloud Security & DevSecOps Engineering
- Securing the Kubernetes Control Plane & Node Components — Cloud Security & DevSecOps Engineering
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- Envelope Encryption & Data Protection with KMS — Cloud Security & DevSecOps Engineering
- The Payment That Was Charged Twice — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- CIA Triad, Non-Repudiation & Parkerian Hexad — Cybersecurity Fundamentals, GRC & Cryptography
- Vendor & Third-Party Risk Management Programs — Cybersecurity Fundamentals, GRC & Cryptography
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography
- Security Capstone Review & Certification — Cybersecurity Fundamentals, GRC & Cryptography
- There Is No Users Table: Authentication — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Cluster's First Birthday: PKI And Connectivity — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Cryptographic Primitives: node:crypto & Ciphers — Node.js Internals & Backend Services
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- The App In /bin That Vanished: The FHS, Distributions And Licences — CompTIA Linux+ (XK0-006) Exam Prep
- The Certificate That Expired On A Sunday: Hashes, Encryption And Certificates — CompTIA Linux+ (XK0-006) Exam Prep
- Patched On Paper: Missing Updates, Broken Chains, Old Protocols And Open Doors — CompTIA Linux+ (XK0-006) Exam Prep
References
- OpenSSL documentation: openssl command
- OpenSSL: openssl-dgst
- OpenSSL documentation
- OpenSSL Library project
Certification courses
- AWS Solutions Architect Associate course and practice exam: SAA-C03
- AZ-400 course and practice exam: Microsoft Azure DevOps Engineer Expert
- CKS course and practice exam: Certified Kubernetes Security Specialist
- CCDAK and CCAAK course and practice exams: Confluent Apache Kafka certifications
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- CompTIA Linux+ course and practice exam: XK0-006