view mod_s2s_auth_posh/README.markdown @ 4498:1776831d0fab

mod_rest/apidemo: Serve yaml with a (non-standard) content-type There's no Standard from what I can tell, found this one somewhere. Serving as text/* might help some clients do something sensible like not treat it as a binary file, which it isn't.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Mar 2021 01:22:15 +0100
parents 517c7f0333e3
children
line wrap: on
line source

---
labels:
- 'Type-S2SAuth'
---

Introduction
============

[PKIX over Secure HTTP (POSH)][rfc7711] describes a method of
securely delegating a domain to a hosting provider, without that hosting
provider needing keys and certificates covering the hosted domain.

# Validating

This module performs POSH validation of other servers. It is *not*
needed to delegate your own domain.

# Delegation

You can generate the JSON delegation file from a certificate by running
`prosodyctl mod_s2s_auth_posh /path/to/example.crt`. This file needs to
be served at `https://example.com/.well-known/posh/xmpp-server.json`.