> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theblockchainlibrary.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PKI

> Public Key Infrastructure (PKI) is a framework of roles, policies, hardware, software, and procedures needed to create, manage, distribute, use, store, and revoke digital certificates and manage public-key encryption. PKI uses a hierarchy of Certificate Authorities (CAs) to verif

# PKI

Public Key Infrastructure (PKI) is a framework of roles, policies, hardware, software, and procedures needed to create, manage, distribute, use, store, and revoke digital certificates and manage public-key encryption. PKI uses a hierarchy of Certificate Authorities (CAs) to verify the identities of participants. While blockchain aims to be a trustless system, PKI remains the foundational layer of the internet, allowing secure communications (SSL/TLS) that protect access to Web3 websites and services.

## Definition

Public Key Infrastructure (PKI) is a framework of roles, policies, hardware, software, and procedures needed to create, manage, distribute, use, store, and revoke digital certificates and manage public-key encryption. PKI uses a hierarchy of Certificate Authorities (CAs) to verify the identities of participants. While blockchain aims to be a trustless system, PKI remains the foundational layer of the internet, allowing secure communications (SSL/TLS) that protect access to Web3 websites and services.

## Simple explanation

PKI is the 'digital passport' system for the internet. It ensures that when you connect to a website, you are talking to the real company and not an imposter. It uses digital certificates to prove that a public key belongs to the entity it claims to represent.

## Why it matters

PKI provides the underlying security for the web interfaces used to access decentralized applications. Without PKI, secure HTTPS connections for crypto-wallets and exchanges would not be possible, leaving users vulnerable to man-in-the-middle attacks.

## How it works

The system relies on a Certificate Authority (CA) that issues digital certificates. A certificate binds a public key to an identity. When you connect, the site presents its certificate, which your browser verifies against the CA's signature. This verifies the identity of the owner, enabling an encrypted session.

## Real-world example

When you visit a crypto exchange like Kraken, the browser uses PKI (via SSL/TLS certificates) to ensure you are on the legitimate site.

## Advantages

* Establishes trust in digital identities
* Enables encrypted communication
* Standardized global framework

## Limitations

* Centralized trust model
* Complex management infrastructure
* Certificate revocation can be slow

## Common misconceptions

* People often confuse PKI with blockchain's public-private key model, but PKI is a centralized trust system.
* Users assume all websites with certificates are safe, but a certificate only confirms identity, not the safety of the content.

## Related knowledge

* [A Deep Dive into Quantum-Resistant Cryptography: Preparing for a Post-Quantum World](https://docs.theblockchainlibrary.com/generated/v2/topics/a-deep-dive-into-quantum-resistant-cryptography-preparing-for-a-post-quantum-world) — article
* [A Deep Dive into Quantum-Resistant Cryptography: Preparing for a Post-Quantum World](https://docs.theblockchainlibrary.com/generated/v2/topics/a-deep-dive-into-quantum-resistant-cryptography-preparing-for-a-post-quantum-world) — related-article
* [Certificate Authority](https://docs.theblockchainlibrary.com/generated/v2/glossary/certificate-authority) — term
* [Digital Certificate](https://docs.theblockchainlibrary.com/generated/v2/glossary/digital-certificate) — term
* [Encryption](https://docs.theblockchainlibrary.com/generated/v2/glossary/encryption) — term
* [SSL](https://docs.theblockchainlibrary.com/generated/v2/glossary/ssl) — term
* [TLS](https://docs.theblockchainlibrary.com/generated/v2/glossary/tls) — term

***

**Canonical knowledge ID:** `glossary:pki`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.