view mod_auth_ccert/README.markdown @ 1860:8e5ee3b09e9d

mod_http_upload/README: Reorder text and mention what the examples are
author Kim Alvefur <zash@zash.se>
date Thu, 17 Sep 2015 14:40:11 +0200
parents 4d73a1a6ba68
children 153f063c3d1a
line wrap: on
line source

---
labels:
- 'Stage-Alpha'
- 'Type-Auth'
summary: Client Certificate authentication module
...

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

This module implements PKI-style client certificate authentication. You
will therefore need your own Certificate Authority. How to set that up
is beyond the current scope of this document.

Configuration
=============


    authentication = "ccert"
    certificate_match = "xmppaddr" -- or "email"

    c2s_ssl = {
        capath = "/path/to/dir/with/your/ca"
    }

`capath` should be pointed to a directory with your own CA certificate.
You will need to run `c_rehash` in it.

Compatibility
=============

  ----------------- --------------
  trunk             Works
  0.9 and earlier   Doesn't work
  0.10 and later    Works
  ----------------- --------------