liveBook · Manning

Self-signed certificate

A self-signed certificate is a digital certificate whose signature is created by the same entity and key identified by the certificate rather than by a certificate authority.

How 4 Manning books explain it

Software Security for Developers

A self-signed certificate is a certificate whose signature is created using the private key corresponding to its own public key rather than a separate certificate authority's key.

How it is used
Supports testing or internal HTTPS when certificate trust is configured deliberately, while warning against public or production use.
How deep it goes
Explains the subject-issuer relationship, OpenSSL creation, trust-chain failure, validation risks, and the private-CA alternative.
Examples
Uses an internal checkout-inventory call, an OpenSSL signing command, browser warnings, and local development with a personal CA.
What you can do after
Apply OpenSSL to create a certificate, diagnose validation failures, and configure a trusted local CA instead of disabling validation.

Read how Software Security for Developers explains self-signed certificate →

Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools

A self-signed certificate is a digital certificate signed by its own subject rather than by an independent certificate authority.

How it is used
Supports personal development, testing, and local PowerShell code signing rather than shared deployment.
How deep it goes
Explains creation, certificate discovery, private-key protection, and local root trust, while deferring internal PKI details.
Examples
Uses New-SelfSignedCertificate, Cert:\CurrentUser\My, thumbprints, and Certmgr.msc to create, locate, and trust certificates.
What you can do after
Apply it via PowerShell to create and locate a local code-signing certificate and configure its root as trusted.

Read how Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools explains self-signed certificate →

Learn Docker in a Month of Lunches, Second Edition

A self-signed certificate is a digital certificate whose signature is produced by the same entity identified by the certificate.

How it is used
Secures nonproduction sites over HTTPS while centralizing SSL termination in a reverse proxy.
How deep it goes
Explains generation, mounting, redirecting, and reloading, but defers detailed protocol and cipher configuration.
Examples
Uses a Dockerized image-gallery site, OpenSSL-generated files, Nginx configuration, HTTP redirects, and a Firefox warning.
What you can do after
Operate/configure a local HTTPS site by generating certificates and wiring them into Nginx.

Read how Learn Docker in a Month of Lunches, Second Edition explains self-signed certificate →

Kubernetes for Developers

A self-signed certificate is a certificate signed by its own subject rather than by a trusted certificate authority.

How it is used
Provides encrypted HTTPS for demonstration or controlled environments when a trusted certificate is unnecessary.
How deep it goes
Explains certificate creation, Kubernetes Secret storage, Ingress configuration, DNS mapping, and browser warnings.
Examples
Uses OpenSSL commands, a my-tls-cert Secret, an example.com Ingress, and a local hosts-file mapping.
What you can do after
Apply it via OpenSSL, kubectl, and an Ingress configuration to expose an encrypted endpoint.

Read how Kubernetes for Developers explains self-signed certificate →

Also covered in

What to know first

Related concepts

Questions about self-signed certificate

What is self-signed certificate?

A self-signed certificate is a digital certificate whose signature is created by the same entity and key identified by the certificate rather than by a certificate authority.

Which Manning books explain self-signed certificate?

Software Security for Developers, Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools, Learn Docker in a Month of Lunches, Second Edition and Kubernetes for Developers.

What should I know before learning self-signed certificate?

Manning books that teach self-signed certificate usually introduce HTTPS, HTTP, certificate and private key first.

What is the difference between self-signed certificate and certificate chain?

A self-signed certificate is a digital certificate whose signature is created by the same entity and key identified by the certificate rather than by a certificate authority. A certificate chain is an ordered sequence of digital certificates linking an end-entity certificate through intermediate authorities to a trusted root certificate.

What is self-signed certificate a kind of?

Self-signed certificate is a kind of certificate. A digital certificate is a digitally signed credential that binds an identity to a public key and supports authentication or secure communication.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.