[cabfpub] Revised .onion proposal

Jeremy Rowley jeremy.rowley at digicert.com
Mon Jan 5 10:42:45 MST 2015


Now that it's a new year, I thought we should revive the onion discussion.  Here's the latest proposal.  The changes from the last version include use of ASN.1 notation to describe the extensions and a clarification that the certs must still expire by the current CAB Forum deadline until the onion name is officially reserved by IESG.  Any additional commnets?



Applicants want a CA-signed .onion address for several reasons, including:

-              Powerful web platform features are restricted to secure origins, which are currently not available to onion names (in part, because of the lack of IANA registration).  Permitting EV certs for onion names will help provide a secure origin for the service, moving onion towards use of powerful web platform features.

-              Currently, access to .onion names over https from a standard browser results in the standard existing 'Invalid Certificate' warning.  Training users to click through security warnings lowers the value of these warnings and will cause users to miss important security information.  Removing these warnings for the user, through use of a digital certificate, will help users recognize and avoid real MITM attacks.

-              The public needs attribution of ownership of the .onion address to differentiate onion services, including potential phishing services. Because onion names are not easily recognizable strings, providing the public with additional information about the operator has significant security improvements, especially in regions where use of the incorrect name could have lethal consequences.



This proposal amends the EV Guidelines to provide clear guidelines on how a CA may issue certificates for .onion addresses.



---------------------

Proposal

---------------------



Amend the Guidelines for the Issuance and Management of Extended Validation Certificates v1.5.2 as follows:

Amend Section 9.2.2 and 11.7.1 as follows:



9.2.2. Subject Alternative Name Extension Certificate field: subjectAltName:dNSName

Required/Optional: Required

Contents: This extension MUST contain one or more host Domain Name(s) owned or controlled by the Subject and to be associated with the Subject's server. Such server MAY be owned and operated by the Subject or another entity (e.g., a hosting service). Wildcard certificates are not allowed for EV Certificates except as permitted under Appendix F.



11.7 Verification of Applicant's Domain Name



11.7.1. Verification Requirements



(1) For each Fully-Qualified Domain Name listed in a Certificate other than a Domain Name with .onion in the right-most label of the Domain Name, the CA SHALL confirm that, as of the date the Certificate was issued, the Applicant (or the Applicant's Parent Company, Subsidiary Company, or Affiliate, collectively referred to as "Applicant" for the purposes of this section) either is the Domain Name Registrant or has control over the FQDN using a procedure specified in Section 11.1.1 of the Baseline Requirements, except that a CA MAY NOT verify a domain using the procedure described 11.1.1(7). For a Certificate issued to a Domain Name with .onion in the right-most label of the Domain Name, the CA SHALL confirm that, as of the date the Certificate was issued, the Applicant's control over the .onion Domain Name in accordance with Appendix F.



(2) Mixed Character Set Domain Names: EV Certificates MAY include Domain Names containing mixed character sets only in compliance with the rules set forth by the domain registrar. The CA MUST visually compare any Domain Names with mixed character sets with known high risk domains. If a similarity is found, then the EV Certificate Request MUST be flagged as High Risk. The CA must perform reasonably appropriate additional authentication and verification to be certain beyond reasonable doubt that the Applicant and the target in question are the same organization.



Add a new Appendix F:



Appendix F - Issuance of Certificates for .onion Domain Names A CA may issue an EV Certificate containing the .onion Domain Name provided that issuance complies with the requirements set forth in this Appendix:

1.      CAB Forum Tor Service Descriptor Hash extension (2.23.140.1.31)

The CAB Forum has created an extension of the TBSCertificate for use in conveying hashes of keys related to .onion addresses.  The Tor Service Descriptor Hash extension has the following format:



cabf-TorServiceDescriptorHash OBJECT IDENTIFIER ::= { 2.23.140.1.31 }

TorServiceDescriptorHash:: = SEQUENCE {

               algorithm               AlgorithmIdentifier

               subjectPublicKeyHash    BIT STRING      }



Where the AlgorithmIdentifier is a hashing algorithm (defined in RFC 6234) performed over the DER-encoding of an ASN.1 SubjectPublicKey of the .onion service and SubjectPublicKeyHash is the hash output.



2.      The CA MUST verify the Applicant's control over the .onion Domain Name using one of the following:



a.      The CA MAY verify the Applicant's control over the .onion service by posting a specific value at a well-known URL under RFC5785. [NOTE: This is subject to change depending on whether we can register a well-known URL for onion]



b.      The CA MAY verify the Applicant's control over the .onion service by having the Applicant provide a Certificate Request signed using the .onion public key if the Attributes section of the certificationRequestInfo contains:



(i)            A caSigningNonce attribute that 1) contains a single value with at least 64-bits of entropy, 2) is generated by the CA, and 3)  delivered to the Applicant through a Verified Method of Communication and

(ii)           An applicantSigningNonce attribute that 1) contains a single value with at least 64-bits of entropy and 2) is generated by the Applicant.



The signing nonce attributes have the following format:



caSigningNonce ATTRIBUTE ::= {

WITH SYNTAX                                 OCTET STRING

EQUALITY MATCHING RULE       octetStringMatch

SINGLE VALUE                                TRUE

ID                                                        { cabf-caSigningNonce }

            }



cabf-caSigningNonce OBJECT IDENTIFIER ::= {  cabf 41 }



applicantSigningNonce ATTRIBUTE ::= {

WITH SYNTAX                                 OCTET STRING

EQUALITY MATCHING RULE       octetStringMatch

SINGLE VALUE                                TRUE

ID                                                        { cabf-applicantSigningNonce }

            }



cabf-applicantSigningNonce OBJECT IDENTIFIER ::= { cabf 42 }



4.      Each Certificate containing a .onion Domain Name MUST conform to the requirements of these Guidelines, including the content requirements in Section 9 and Appendix B of the Baseline Requirements, except that the CA MAY include a wildcard character in the Subject Alternative Name Extension and Subject Common Name Field as the leftmost character in the .onion Domain Name provided inclusion of the wildcard character complies with Section 11.1.3 of the Baseline Requirements.



5.    CAs MUST NOT issue a Certificate containing an .onion Domain Name with a validity period longer than 15 months. Despite Section 9.2.1 of the Baseline Requirements deprecating the use of Internal Names, a CA MAY issue a Certificate containing an .onion name with an expiration date later than 1 November 2015 after (and only if) .onion is officially recognized by the IESG as a reserved TLD.



6.    On or before January 15, 2015, each CA MUST revoke all Certificates issued with the Subject Alternative Name extension or Common Name field containing a .onion Domain Name unless the Certificate was issued in compliance with this Appendix F.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://cabforum.org/pipermail/public/attachments/20150105/0dcf46dc/attachment-0001.html 


More information about the Public mailing list