Decentralized Certificate Authorities

Bargav Jayaraman, Hannah Li, David EvansarXiv 2017

Abstract

The security of TLS depends on trust in certificate authorities, and that trust stems from their ability to protect and control the use of a private signing key. The signing key is the key asset of a certificate authority (CA), and its value is based on trust in the corresponding public key which is primarily distributed by browser vendors. Compromise of a CA private key represents a single point-of-failure that could have disastrous consequences, so CAs go to great lengths to attempt to protect and control the use of their private keys. Nevertheless, keys are sometimes compromised and may be misused accidentally or intentionally by insiders. We propose splitting a CA's private key among multiple parties, and producing signatures using a generic secure multi-party computation protocol that never exposes the actual signing key. This could be used by a single CA to reduce the risk that its signing key would be compromised or misused. It could also enable new models for certificate generation, where multiple CAs would need to agree and cooperate before a new certificate can be generated, or even where certificate generation would require cooperation between a CA and the certificate recipient (subject). Although more efficient solutions are possible with custom protocols, we demonstrate the feasibility of implementing a decentralized CA using a generic two-party secure computation protocol with an evaluation of a prototype implementation that uses secure two-party computation to generate certificates signed using ECDSA on curve secp192k1.

Introduction

The security of the modern web (TLS/HTTPS) relies on a handful of "trusted" Certificate Authorities. These organizations hold highly sensitive private keys used to sign certificates for websites. If a CA’s private key is compromised—whether through a sophisticated hack, an insider threat, or an administrative mistake—the attacker can impersonate any website, leading to massive man-in-the-middle attacks.

Currently, CAs are a Single Point of Failure (SPOF). As long as a private key exists in its entirety on a single physical device or within a single organization’s memory, it is at risk. This paper proposes a decentralized CA that uses secure multi-party computation (MPC) to split a private signing key among multiple parties, ensuring the full signing key is never reconstructed in plaintext.

Methodology

The researchers implement a decentralized CA using Yao’s Garbled Circuits, a protocol that allows two parties to compute a function (in this case, a digital signature) over their private inputs without ever revealing those inputs to each other.

Key Splitting and Generation

The CA’s private key is split into "shares" such that no single party ever knows the full key. The protocol for decentralized key generation ensures that the private key $sk$ is only ever represented as the sum of shares $sk_A$ and $sk_B$ within the MPC environment.

Protocol for decentralized key generation where the private key is split between two parties.

ECDSA Signing via MPC

The prototype uses the Elliptic Curve Digital Signature Algorithm (specifically the NIST secp192k1 curve) within an MPC framework built on Obliv-C. The system supports both semi-honest security and active security via Dual Execution.

Protocol for decentralized certificate generation using MPC to produce an ECDSA signature.

By using a generic MPC approach rather than a custom protocol, the CA can bake complex policy checks directly into the signing circuit. For example, the system can be configured to only sign if both parties have independently verified the domain via different methods.

Performance and Economic Analysis

The authors evaluated the system using synthetic certificate data modeled after real-world examples and benchmarked performance on Amazon AWS EC2 nodes across different geographic regions.

Key Results

  • Throughput: Using Yao’s semi-honest protocol, a signature can be generated in about 0.7 seconds for co-located nodes.
  • Financial Cost: Signing a certificate in a local environment costs roughly $0.28. Even in a "Long Distance" scenario with active security, the cost is roughly $17.07 per certificate. This is economically viable compared to the high premiums paid for Extended Validation (EV) certificates.
  • Bandwidth Bottleneck: The primary challenge is the massive data transfer requirement—roughly 410 GiB for semi-honest and 820 GiB for active security—due to the 21.97 billion gates required for the ECDSA circuit.

Limitations and Future Work

The extreme bandwidth requirement makes this approach impractical for high-volume, low-cost CAs like Let’s Encrypt, making it best suited for high-value, low-volume certificates. Future work identifies Curve Multiplication as the primary target for optimization, as it accounts for nearly the entire gate count and bandwidth cost. Transitioning to more efficient, specialized MPC protocols for elliptic curve operations while retaining the generic wrapper for policy checks could significantly improve performance.

Summary updated

BibTeX
@misc{jayaraman2017decentralized,
  author = {Bargav Jayaraman and Hannah Li and David Evans},
  title = {{Decentralized Certificate Authorities}},
  year = {2017},
  eprint = {1706.03370},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.03370},
}
Figure