From: Luca Toscano Date: Mon, 14 Aug 2017 10:13:50 +0000 (+0000) Subject: mod_md.xml: add some links and fix some details X-Git-Tag: 2.5.0-alpha~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbb1c557eda73590b8acc0e51c406e37f78b5c1;p=thirdparty%2Fapache%2Fhttpd.git mod_md.xml: add some links and fix some details The transformation document is still not available since build.sh fails. More info in my last email thread in docs@ for whoever is interested. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1804975 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_md.xml b/docs/manual/mod/mod_md.xml index 176a3af4bac..8bbf5cd9386 100644 --- a/docs/manual/mod/mod_md.xml +++ b/docs/manual/mod/mod_md.xml @@ -34,10 +34,12 @@

This module manages common properties of domains for one or more virtual hosts. - Specifically it can use the ACME protocol (RFC Draft) + Specifically it can use the ACME protocol + (RFC Draft) to automate certificate provisioning. These will be configured for managed domains and their virtual hosts automatically. This includes renewal of certificates before they - expire.

+ expire. The most famous Certificate Autority currently implementing the ACME protocol + is Let's Encrypt.

Warning

This module is experimental. Its behaviors, directives, and @@ -61,10 +63,12 @@ ManagedDomain example.org </VirtualHost>

- This setup will, on server start, contact Let's Encrypt + This setup will, on server start, contact + Let's Encrypt to request a certificate for the domain. If Let's Encrypt can verify the ownership of the domain, the module will retrieve the certificate and its chain, store it - in the local file system and provide it, on next restart, to mod_ssl. + in the local file system (see MDStoreDir) + and provide it, on next restart, to mod_ssl.

This happens while the server is already running. All other hosts will continue to work as before. While a certificate is not available, requests for the managed @@ -73,12 +77,11 @@ ManagedDomain example.org

- ManagedDomain Define list of domain names that belong to one group - ManagedDomain dns-name [ other-dns-name... ] + ManagedDomain dns-name [ other-dns-name... ] server config @@ -86,15 +89,17 @@ ManagedDomain example.org

All the names in the list are managed as one Managed Domain (MD). - mod_md will request one certificate that is valid for all these names. This + mod_md will request one single certificate that is valid for all these names. This directive uses the global settings (see other MD directives below). If you need specific settings for one MD, use - the <ManagedDomain. + the ManagedDomain.

- There are 2 additional settings that are necessary for a Managed Domain: ServerAdmin - and MDCertificateAgreement. The mail address of - ServerAdmin is used to register - at the CA (Let's Encrypt by default). The CA may use it to notify you about + There are 2 additional settings that are necessary for a Managed Domain: + ServerAdmin + and MDCertificateAgreement. + The mail address of ServerAdmin + is used to register at the CA (Let's Encrypt by default). + The CA may use it to notify you about changes in its service or status of your certificates.

The second setting, MDCertificateAgreement, @@ -154,9 +159,9 @@ ManagedDomain example.org - <ManagedDomain - Define a group of domains with common properties - <ManagedDomain dns-name>...</ManagedDomain> + ManagedDomain + Container for directives applied to the same managed domains + <ManagedDomain dns-name [ other-dns-name... ]>...</ManagedDomain> server config @@ -174,7 +179,7 @@ ManagedDomain example.org MDDriveMode manual MDCertificateAuthority https://someotherca.com/ACME MDCertificateAgreement https://someotherca.com/terms/v_1.02.pdf -</ManagedDomain example.org> +</ManagedDomain> @@ -224,8 +229,8 @@ ManagedDomain example.org www.example.org mail.example.org

LE Staging Setup - MDCertificateAuthority https://acme-staging.api.letsencrypt.org/directory - MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf +MDCertificateAuthority https://acme-staging.api.letsencrypt.org/directory +MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf