Guide for building an ECC pki
draft-moskowitz-ecdsa-pki-01

Document Type Active Internet-Draft (individual)
Last updated 2017-09-08
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
wg TBD                                                      R. Moskowitz
Internet-Draft                                                    Huawei
Intended status: Informational                               H. Birkholz
Expires: March 11, 2018                                   Fraunhofer SIT
                                                                  L. Xia
                                                                  Huawei
                                                       September 7, 2017

                     Guide for building an ECC pki
                      draft-moskowitz-ecdsa-pki-01

Abstract

   This memo provides a guide for building a PKI (Public Key
   Infrastructure) using openSSL.  All certificates in this guide are
   ECDSA, P-256, with SHA256 certificates.  Along with common End Entity
   certificates, this guide provides instructions for creating IEEE
   802.1AR iDevID Secure Device certificates.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on March 11, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must

Moskowitz, et al.        Expires March 11, 2018                 [Page 1]
Internet-Draft                  PKI Guide                 September 2017

   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terms and Definitions . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Requirements Terminology  . . . . . . . . . . . . . . . .   3
     2.2.  Notations . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.3.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  The Basic PKI feature set . . . . . . . . . . . . . . . . . .   4
   4.  Getting started and the Root level  . . . . . . . . . . . . .   4
     4.1.  Setting up the Environment  . . . . . . . . . . . . . . .   5
     4.2.  Create the Root Certificate . . . . . . . . . . . . . . .   6
   5.  The Intermediate level  . . . . . . . . . . . . . . . . . . .   7
     5.1.  Setting up the Intermediate Certificate Environment . . .   7
     5.2.  Create the Intermediate Certificate . . . . . . . . . . .   7
     5.3.  Create a Server EE Certificate  . . . . . . . . . . . . .   9
     5.4.  Create a Client EE Certificate  . . . . . . . . . . . . .   9
   6.  The 802.1AR Intermediate level  . . . . . . . . . . . . . . .  10
     6.1.  Setting up the 802.1AR Intermediate Certificate
           Environment . . . . . . . . . . . . . . . . . . . . . . .  10
     6.2.  Create the 802.1AR Intermediate Certificate . . . . . . .  11
     6.3.  Create an 802.1AR iDevID Certificate  . . . . . . . . . .  13
   7.  Setting up a CRL for an Intermediate CA . . . . . . . . . . .  14
     7.1.  Create (or recreate) the CRL  . . . . . . . . . . . . . .  14
     7.2.  Revoke a Certificate  . . . . . . . . . . . . . . . . . .  14
   8.  Setting up OCSP for an Intermediate CA  . . . . . . . . . . .  15
     8.1.  Create the OCSP Certificate . . . . . . . . . . . . . . .  15
     8.2.  Revoke a Certificate  . . . . . . . . . . . . . . . . . .  17
     8.3.  Testing OCSP with Openssl . . . . . . . . . . . . . . . .  17
   9.  Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . .  17
     9.1.  Certificate Serial Number . . . . . . . . . . . . . . . .  18
     9.2.  Some OpenSSL config file limitations  . . . . . . . . . .  18
     9.3.  subjectAltName support, or lack thereof . . . . . . . . .  19
     9.4.  DER support, or lack thereof  . . . . . . . . . . . . . .  19
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  20
Show full document text