Security > PKI Public Key Infrastructure
Public Key Infrastructure (PKI) is the foundation of modern digital security. PKI enables authentication, encryption, digital signatures, and secure communications between users, applications, devices, and services. Whether you are securing HTTPS websites, deploying VPNs, implementing Cisco ISE, or managing enterprise certificates, PKI provides the trust framework that makes these technologies possible.
Public Key Infrastructure is a collection of technologies, policies, procedures, and trusted entities that manage digital certificates and public key cryptography. PKI establishes trust between parties that may have never communicated before.
The primary purpose of PKI is to verify identities and securely exchange information using asymmetric encryption.
PKI relies on asymmetric cryptography, which uses two mathematically related keys.
Data encrypted with a public key can only be decrypted using the matching private key.
A digital certificate is an electronic credential that proves ownership of a public key. Certificates are issued by trusted Certificate Authorities and contain information about the certificate holder.
Typical certificate fields include:
A Certificate Authority is a trusted entity responsible for issuing, managing, and revoking certificates.
Common Certificate Authorities include:
PKI uses a hierarchical trust model.
The Root CA signs Intermediate CAs. Intermediate CAs sign Issuing CAs or end-user certificates. This design protects the root certificate and improves operational security.
A public and private key pair is generated.
A CSR is created and submitted to a Certificate Authority.
The CA verifies ownership and identity.
The CA signs and issues the certificate.
The certificate is installed on the target system.
The certificate is renewed before expiration.
Compromised certificates are revoked through CRLs or OCSP.
Digital signatures provide three critical security functions:
A hash of the data is signed using the private key. The recipient verifies the signature using the public key.
HTTPS depends on PKI to establish secure TLS sessions.
Cisco devices use PKI extensively for secure authentication and encrypted communications.
openssl genrsa -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -in certificate.crt -text -noout
openssl verify -CAfile ca-bundle.pem certificate.crt
crypto pki trustpoint ENTERPRISE-CA enrollment url http://10.10.10.10 subject-name CN=Router1 revocation-check crl rsakeypair Router1-Key crypto pki authenticate ENTERPRISE-CA crypto pki enroll ENTERPRISE-CA
show crypto pki certificates show crypto pki trustpoints show crypto pki crls debug crypto pki transactions
Public Key Infrastructure provides the trust foundation for modern cybersecurity. From secure websites and VPNs to Cisco network authentication and enterprise identity management, PKI enables organizations to authenticate identities, protect sensitive data, and establish secure communications at scale.
Understanding PKI is essential for network engineers, system administrators, security professionals, and DevOps engineers responsible for designing and operating secure infrastructures.