Mutual TLS in Practice: A Deep Dive into Certificate Configurations and Privacy Issues
Open Access
- 4 November 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 214-229
Abstract
Transport Layer Security (TLS) is widely recognized as the essential protocol for securing Internet communications. While numerous studies have focused on investigating server certificates used in TLS connections, our study delves into the less explored territory of mutual TLS (mTLS) where both parties need to provide certificates to each other. By utilizing TLS connection logs collected from a large campus network over 23 months, we identify over 2.2 million unique server certificates and over 3.4 million unique client certificates used in over 1.2 billion mutual TLS connections. By jointly analyzing TLS connection data (e.g., port numbers) and certificate data (e.g., issuers for server/client certificates), we quantify the prevalent use of untrusted certificates and uncover potential security concerns resulting from misconfigured certificates, sharing of certificates between servers and clients, and long-expired certificates. Furthermore, we present the first in-depth study on the wide range of information included in CommonName (CN) and Subject Alternative Name (SAN), drawing comparison between client and server certificates, as well as revealing sensitive information.Keywords
Funding Information
- NSF (National Science Foundation) (CNS-2154962,CNS-2319421)
This publication has 20 references indexed in Scilit:
- Exploring HTTPS Certificate Ecosystem: Analyzing the Entire IPv4 Address Space2023
- How Far is User Privacy Leakage: A Revisit of Client Certificate Usage2023
- Old Habits Die Hard: A Sober Look at TLS Client Certificates in the Real World2021
- Illuminate the Shadow: A Comprehensive Study of TLS Client Certificate Ecosystem in the Wild2021
- Let's Encrypt2019
- Measuring and Applying Invalid SSL Certificates2016
- Measurement and Analysis of Private Key Sharing in the HTTPS Ecosystem2016
- Using Frankencerts for Automated Adversarial Testing of Certificate Validation in SSL/TLS Implementations2014
- Analysis of the HTTPS certificate ecosystem2013
- The most dangerous code in the world2012