Introduction to PKI in Junos OS

This document provides an overview of PKI (Public Key Infrastructure) in Junos OS, architecture of the virtual private network (VPN) based on PKI authentication, step-by-step instructions on configuring and troubleshooting of PKI in Junos OS, and FAQ (frequently asked questions) on PKI with respect to your SRX series or J-Series devices.

This document is intended for network design and security engineers, as well as anyone that requires secure connectivity over public networks.

Note: For more details on digital certificates, see the Junos System Basics Guide available at: http://www.juniper.net/techpubs/software/junos/.

For information on crypto, RSA, and PKI, visit the website http://www.rsasecurity.com/rsalabs.

For a list of PKI-related technical terms, see the Glossary of PKI Related Terms.

This topic describes the basic elements of public key infrastructure (PKI) in Junos OS, including components of the PKI, certificate life cycle management, and usage within Internet Key Exchange (IKE) and includes the following sections:

Fundamentals of the PKI

Junos OS is the Juniper Networks single operating system and provides the following features:

PKI Applications Overview

The Junos OS uses public/private keys in the following areas:

Note: Note the following points:

  • Currently the Junos OS supports only IKE (using public key infrastructure (PKI) certificates for public key validation).
  • Support for identity binding with SSL is currently not available. A brief section on SSL is included in this example. For more information, see Overview on Usage of SSL and IPsec/IKE Methods.
  • The SSH and SCP are used exclusively for system administration and depends on the use of out-of-band fingerprints for public key identity binding and validation. Details on SSH are not covered in this example.

Components for Administering PKI in Junos OS

The following components are required for administrating PKI in Junos OS:

Basic Elements of PKI in Junos OS

Junos OS supports three specific types of PKI objects:

Note the following points about certificates:

Junos OS supports multiple local certificates, depending on the device size. See Appendix A: Frequently Asked Questions for details.

Table 1 provides information on possible PKI objects and their average sizes.

Table 1: PKI Objects and Average Sizes

PKI Objects

Average Sizes

Private/public key pair

1 KB

Local certificate

2 KB

CA certificate

2 KB

CA authority configuration

500 bytes

CRL (average size is a variable that depends on how many certificates have been revoked by that particular CA)

300 bytes up to 2 MB+

Example:

Calculating flash memory requirements:

Assume the following settings in a Junos device:

The flash memory requirements for CRL =

2 KB (local certificate) + 1 KB (key pair) + 2 KB (CA certificate) + 0.5 (CA authority configuration) + 10 (CRL) = 15.5 KB

Note: Note the following points about certificate chains:

  • For certificate chains, you must add additional CA certificates, additional CA profile configurations, and additional CRLs for each CA in the hierarchy or cross-certified chain.
  • The high-end SRX Series ( for example, SRX3400, SRX3600, SRX5600, SRX5800) or J-Series devices have more flash memory and can accommodate several local certificates and CA chains.
  • The low-end SRX Series (for example, SRX100, SRX210, SRX 240) or J-Series devices have limited storage capacity and can include a limited number of certificates. It is recommended that the lower-end devices use only one local certificate/key pair, one CA (or one chain of CAs), and one CRL.

Related Topics