Informational Add-on for HTTP over the Secure Sockets Layer (SSL) Protocol and/or the Transport Layer Security (TLS) Protocol
draft-hoehlhubmer-https-addon-07

Document Type Active Internet-Draft (individual)
Last updated 2014-05-27 (latest revision 2013-11-25)
Stream ISE
Intended RFC status Informational
Formats plain text pdf html bibtex
Stream ISE state Finding Reviewers
Consensus Boilerplate Unknown
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                     W. Hoehlhubmer
Internet-Draft                                              Nov 25, 2013
Category: Best Current Practice
Intended status: Informational
Expires: May 25, 2014

                  Informational Add-on for HTTP over
            the Secure Sockets Layer (SSL) Protocol and/or
              the Transport Layer Security (TLS) Protocol
                   draft-hoehlhubmer-https-addon-07

Abstract

   This document describes an Add-on for websites providing encrypted
   connectivity (HTTP over TLS).

   The Add-on has two parts,  one for the Domain Name System (DNS) -
   storing the X.509 certificate hashes - and one for the webserver
   itself - an additional webpage providing specific informations.

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 May 25, 2014.

Copyright Notice

   Copyright (c) 2013 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

Hoehlhubmer              Expires May 25, 2014                   [Page 1]
Internet-Draft   Informational Add-on for HTTP over SSL/TLS     Nov 2013

   (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
   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
   1.1. Requirements Notation  . . . . . . . . . . . . . . . . . . .   4
   2.  Implementing this Add-on  . . . . . . . . . . . . . . . . . .   5
   2.1.  Implementing the DNS part . . . . . . . . . . . . . . . . .   5
   2.1.1.  Calculating the Hashes  . . . . . . . . . . . . . . . . .   5
   2.1.1.1.  Calculating the Packed form . . . . . . . . . . . . . .   7
   2.1.2.  Formatting the Date and Time  . . . . . . . . . . . . . .   7
   2.1.3.  Arbitrary String Attribute Syntax . . . . . . . . . . . .   7
   2.1.4.  DNS-entry Namespace   . . . . . . . . . . . . . . . . . .   9
   2.2.  Implementing the HTTP part  . . . . . . . . . . . . . . . .   9
   2.2.1.  Webpage Content . . . . . . . . . . . . . . . . . . . . .  10
   2.2.2.  Formating and Presenting the Webpage  . . . . . . . . . .  11
   3.  DNS part Details  . . . . . . . . . . . . . . . . . . . . . .  11
   3.1.  Handling Certificate Rollover . . . . . . . . . . . . . . .  11
   3.2.  Verification Procedure  . . . . . . . . . . . . . . . . . .  12
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  12
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  12
   7.  Recommendations . . . . . . . . . . . . . . . . . . . . . . .  12
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
   8.1.  Normative References  . . . . . . . . . . . . . . . . . . .  13
   8.2.  Informative References  . . . . . . . . . . . . . . . . . .  13
   9.  Discussions . . . . . . . . . . . . . . . . . . . . . . . . .  16
   A.  Example certificates  . . . . . . . . . . . . . . . . . . . .  17
   A.1.  The DER-encoded CA certificate  . . . . . . . . . . . . . .  17
   A.1.1.  The CA's public key . . . . . . . . . . . . . . . . . . .  17
   A.2.  The DER-encoded SSL certificate . . . . . . . . . . . . . .  18
   B.  Script Examples for the Add-on webpage  . . . . . . . . . . .  19
   B.1.  PHP-script  . . . . . . . . . . . . . . . . . . . . . . . .  19
   B.2.  CGI-script: A BASH shell script . . . . . . . . . . . . . .  20
   B.3.  CGI-script: A compiled C program  . . . . . . . . . . . . .  20
   C.  Sample Content of the Add-on webpage  . . . . . . . . . . . .  23
   C.1.  A complete sample content . . . . . . . . . . . . . . . . .  23
   C.1.1.  ...,  the client certificate part . . . . . . . . . . . .  24
Show full document text