Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Alexei Khlebnikov

Rating No ratings yet

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on guide to using OpenSSL 3.0 for real network security work, moving from core cryptographic concepts to command-line and C code you can run. Best for developers, sysadmins, and DevOps engineers who want practical OpenSSL skills rather than pure theory. 【Book Arc】 - **Opening (~0%–10%)**: Introduces OpenSSL, its history, and what changed in 3.0, then frames the cryptographic building blocks—symmetric ciphers, modes, padding, and key generation—that later chapters depend on. - **Early (~10%–30%)**: Covers message digests and hash functions, MAC/HMAC and the Cryptographic Doom Principle, and deriving encryption keys from passwords, all with command-line and C examples. - **Middle (~30%–55%)**: Shifts to asymmetric cryptography—RSA encryption/decryption, digital signatures and verification, and the certificate concepts needed for TLS. - **Late (~55%–75%)**: Applies the foundations to TLS: building clients and servers, X.509 certificate verification, CRLs, OCSP, and client certificates. - **Ending (~75%–100%)**: Explores special TLS usages such as certificate pinning, non-blocking sockets, and non-standard sockets via BIOs, then walks through running a mini-CA for organizational PKI. 【Key Takeaways】 - **OpenSSL 3.0 is an architectural release, not just a feature release** (Opening): the provider concept and Apache 2.0 licensing are the headline changes, with more architectural work deferred to 4.0. - **Symmetric encryption choices matter more than the cipher name alone** (Early): block cipher modes, padding, and key generation are presented as a decision set, not isolated topics. - **Message digests underpin integrity, HMAC, signatures, and protocols** (Early): the book connects hashing to concrete uses like password verification, content identifiers, and proof-of-work. - **HMAC and encryption must be combined carefully** (Early): the Cryptographic Doom Principle warns against encrypt-then-MAC mistakes that break security. - **Passwords are not encryption keys** (Early): key derivation functions are necessary to turn human passwords into usable cryptographic keys. - **Asymmetric crypto solves key distribution but introduces trust problems** (Middle): man-in-the-middle attacks, fingerprints, key splitting, and trusted third parties are all framed as trust-establishment options. - **TLS is where the primitives become a working system** (Late): certificate verification, revocation via CRL/OCSP, and client certificates are shown through C programs. - **Running a mini-CA is a practical capstone** (Ending): generating root, intermediate, server, and client certificates ties the book’s concepts into an operational PKI workflow. 【Reading Tips】 - Deep-read the early chapters on symmetric encryption, digests, and HMAC; they are the vocabulary for everything later. - Skim the OpenSSL history and library-comparison material unless you need to justify a library choice; the practical value is in the code chapters. - Type and run the C examples rather than copying them—the book explicitly recommends this to avoid errors and build real familiarity. - Treat the TLS and mini-CA chapters as the payoff: read them with the earlier command-line examples nearby, since they combine multiple primitives. - Use the book as guidance, not a replacement for OpenSSL documentation; consult official docs or experiment when details are missing. 【Coverage Limits】 The excerpts cover the book’s structure, chapter topics, and stated audience, but do not include full technical explanations or code details from every chapter. Specific implementation nuances beyond the listed topics are not covered here.
Excerpt 1
y Street Birmingham B3 2PB, UK. 978-1-80056-034-5 www.packt.com To my beloved mother, Tatyana Khlebnikova, who, through a lot of effort, care, love, and supp...
View in text
Excerpt 2
r program Running the tls-server program Summary 10 Using X.
View in text
Excerpt 3
ram Running the tls-server program Summary 10 Using X.
View in text
Excerpt 4
ion will be illustrated by command-line and C code examples. Chapter 6 , Asymmetric Encryption and Decryption , will unpack why asymmetric encryption is need...
View in text
Excerpt 5
licensed under Apache 2.0 license , which is also BSD-style. This license allows OpenSSL to be used in both open source and closed source applications. OpenS...
View in text
Excerpt 6
ally have weak CPUs , low memory , and small storage space . Lightweight TLS libraries usually become lightweight through modularity , the possibility to com...
View in text
Excerpt 7
ever want to run our code with an older version of OpenSSL. We are going to cover the following topics in this chapter: Understanding symmetric encryption An...
View in text
Excerpt 8
s – that is, perform 2 256 computational operations at most. Here, a computational operation does not mean a very basic operation, such as a Central Processi...
View in text
Tags
AI categories
CybersecurityProgramming Language
Publish Year: 2022
Language: English
File Format: EPUB
File Size: 3.5 MB