Guide for building an EDDSA pki
draft-moskowitz-eddsa-pki-00

Document Type Active Internet-Draft (individual)
Last updated 2018-09-17
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                                            HTT Consulting
Intended status: Informational                               H. Birkholz
Expires: March 21, 2019                                   Fraunhofer SIT
                                                           M. Richardson
                                                               Sandelman
                                                      September 17, 2018

                    Guide for building an EDDSA pki
                      draft-moskowitz-eddsa-pki-00

Abstract

   This memo provides a guide for building a PKI (Public Key
   Infrastructure) using openSSL.  Certificates in this guide can be
   either ED25519 or ED448 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 https://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 21, 2019.

Copyright Notice

   Copyright (c) 2018 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
   (https://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 21, 2019                 [Page 1]
Internet-Draft                  PKI Guide                 September 2018

   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.  Comparing ECDSA and EDDSA certificates  . . . . . . . . . . .   3
   4.  The Basic PKI feature set . . . . . . . . . . . . . . . . . .   4
   5.  Getting started and the Root level  . . . . . . . . . . . . .   5
     5.1.  Setting up the Environment  . . . . . . . . . . . . . . .   5
     5.2.  Create the Root Certificate . . . . . . . . . . . . . . .   6
   6.  The Intermediate level  . . . . . . . . . . . . . . . . . . .   7
     6.1.  Setting up the Intermediate Certificate Environment . . .   7
     6.2.  Create the Intermediate Certificate . . . . . . . . . . .   8
     6.3.  Create a Server EE Certificate  . . . . . . . . . . . . .   9
     6.4.  Create a Client EE Certificate  . . . . . . . . . . . . .  10
   7.  The 802.1AR Intermediate level  . . . . . . . . . . . . . . .  11
     7.1.  Setting up the 802.1AR Intermediate Certificate
           Environment . . . . . . . . . . . . . . . . . . . . . . .  11
     7.2.  Create the 802.1AR Intermediate Certificate . . . . . . .  12
     7.3.  Create an 802.1AR iDevID Certificate  . . . . . . . . . .  13
   8.  Setting up a CRL for an Intermediate CA . . . . . . . . . . .  15
     8.1.  Create (or recreate) the CRL  . . . . . . . . . . . . . .  15
     8.2.  Revoke a Certificate  . . . . . . . . . . . . . . . . . .  15
   9.  Setting up OCSP for an Intermediate CA  . . . . . . . . . . .  16
     9.1.  Create the OCSP Certificate . . . . . . . . . . . . . . .  16
     9.2.  Revoke a Certificate  . . . . . . . . . . . . . . . . . .  17
     9.3.  Testing OCSP with Openssl . . . . . . . . . . . . . . . .  18
   10. Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . .  18
     10.1.  Certificate Serial Number  . . . . . . . . . . . . . . .  19
     10.2.  Some OpenSSL config file limitations . . . . . . . . . .  19
     10.3.  subjectAltName support, or lack thereof  . . . . . . . .  20
     10.4.  DER support, or lack thereof . . . . . . . . . . . . . .  20
   11. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
   12. Security Considerations . . . . . . . . . . . . . . . . . . .  21
Show full document text