POSH

Demo · format-valid IANA · permanent

/.well-known/posh/<service>.json

Standard: RFC 7711

PKIX Over HTTP — publish TLS certificate chains for protocols that can't use DNS SRV well.

What it is

Some protocols (historically XMPP) need to discover the X.509 certificate of a server but lack a good DNS mechanism. POSH publishes the certificate chain at a well-known HTTPS URL, piggybacking on the trust already established by HTTPS.

The threat it addresses

For protocols without standard certificate distribution, clients either skip validation or rely on ad-hoc mechanisms. POSH gives a verifiable chain: HTTPS certifies the file, the file certifies the service.

How it works

  • The server publishes /.well-known/posh/<service>.json containing subject, issuer and base64 DER certificates.
  • A client connects over HTTPS to fetch the file, then uses those certificates to validate the service's TLS.
  • The service name in the path (e.g. 'spice') is registered per-protocol.

Honesty notes

  • Demo: illustrative response with an empty certificate list — real deployments publish the actual DER chain.

Try it

Live demo

Format demonstration — real deployments publish the actual DER chain

Content-Type: application/json; charset=utf-8
{
  "subject": "demo.well-known.page",
  "issuer": "illustrative demo issuer",
  "certificates": [],
  "_demo_note": "Illustrative POSH response. Real deployments publish the base64 DER certificates of the service."
}