What Is .well-known

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 11, 2026

Quick Answer: The .well-known directory is a standardized URL path defined by RFC 5785 (2010) that allows websites to host configuration files and metadata at a predictable location without requiring prior knowledge of specific directory structures. It enables automated discovery of security configurations, service endpoints, and web standards compliance information for applications and services.

Key Facts

Overview

The .well-known directory is a standardized URL path prefix that enables websites and web applications to publish configuration files and metadata at a predictable location. Defined by RFC 5785 in 2010, it provides a universal solution for service discovery without requiring clients to know the specific internal directory structure of a website.

Rather than scattering configuration files throughout a site's directory structure, the .well-known convention centralizes discoverable information in a single, standardized location. This approach benefits both website owners and client applications that need to automatically discover services, security policies, and configuration endpoints.

How It Works

The .well-known mechanism operates on a simple principle: place discoverable resources in a /.well-known/ directory at the root of a domain, allowing any client to access them using a predictable URL pattern.

Key Comparisons

.well-known EndpointPrimary PurposeFile FormatStandard/Owner
/.well-known/acme-challenge/SSL/TLS certificate validation for Let's EncryptText filesACME (Automated Certificate Management Environment)
/.well-known/openid-configurationOAuth 2.0 and OpenID Connect service metadata discoveryJSONOpenID Foundation
/.well-known/assetlinks.jsonAndroid app linking and app authenticity verificationJSONGoogle/Android
/.well-known/security.txtSecurity contact information and vulnerability disclosure policiesText fileRFC 9116 (2022)
/.well-known/webfingerUser profile and social identity discoveryJSONRFC 7033

Why It Matters

The .well-known standard provides significant benefits for both website administrators and developers integrating web services. It reduces configuration complexity and enables automatic service discovery at scale.

The widespread adoption of .well-known endpoints reflects their critical role in modern web infrastructure. Today, the majority of websites running Let's Encrypt certificates (over 300 million as of 2024) use /.well-known/acme-challenge/ for validation. Similarly, OAuth 2.0 providers including Google, Microsoft, and GitHub use /.well-known/openid-configuration as the standard endpoint for service discovery.

Sources

  1. RFC 5785 - Defining Well-Known Uniform Resource Identifiers (URIs)IETF License
  2. RFC 8555 - Automatic Certificate Management Environment (ACME)IETF License
  3. RFC 9116 - A File Format to Aid in Security Vulnerability DisclosureIETF License
  4. OpenID Connect Discovery 1.0OpenID Foundation

Missing an answer?

Suggest a question and we'll generate an answer for it.