From 856037d3c0a60d4f444fee48f047d02e8ffbaaf3 Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Sun, 14 Jan 2018 21:51:51 +0000 Subject: [PATCH] Documentation rebuild: welcome mod_md to 2.4.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821117 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/allmodules.xml | 1 + docs/manual/mod/allmodules.xml.de | 1 + docs/manual/mod/allmodules.xml.es | 1 + docs/manual/mod/allmodules.xml.fr | 1 + docs/manual/mod/allmodules.xml.ja | 1 + docs/manual/mod/allmodules.xml.ko | 1 + docs/manual/mod/allmodules.xml.tr | 1 + docs/manual/mod/allmodules.xml.zh-cn | 1 + docs/manual/mod/directives.html.en | 18 + docs/manual/mod/index.html.en | 3 + docs/manual/mod/mod_md.html | 5 + docs/manual/mod/mod_md.html.en | 657 +++++++++++++++++++++++++ docs/manual/mod/quickreference.html.en | 18 + docs/manual/sections.html.en | 2 +- docs/manual/sections.xml.fr | 2 +- docs/manual/sections.xml.ja | 2 +- docs/manual/sections.xml.ko | 2 +- docs/manual/sections.xml.meta | 4 +- docs/manual/sections.xml.tr | 2 +- docs/manual/sitemap.html.en | 1 + 20 files changed, 717 insertions(+), 7 deletions(-) create mode 100644 docs/manual/mod/mod_md.html create mode 100644 docs/manual/mod/mod_md.html.en diff --git a/docs/manual/mod/allmodules.xml b/docs/manual/mod/allmodules.xml index 0faf99a2e1..766442ff71 100644 --- a/docs/manual/mod/allmodules.xml +++ b/docs/manual/mod/allmodules.xml @@ -72,6 +72,7 @@ mod_logio.xml mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/allmodules.xml.de b/docs/manual/mod/allmodules.xml.de index 4811a1a24a..cd3cebf9a8 100644 --- a/docs/manual/mod/allmodules.xml.de +++ b/docs/manual/mod/allmodules.xml.de @@ -72,6 +72,7 @@ mod_logio.xml mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/allmodules.xml.es b/docs/manual/mod/allmodules.xml.es index 1152900da7..32be72ca92 100644 --- a/docs/manual/mod/allmodules.xml.es +++ b/docs/manual/mod/allmodules.xml.es @@ -72,6 +72,7 @@ mod_logio.xml mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/allmodules.xml.fr b/docs/manual/mod/allmodules.xml.fr index f73147c1b2..82a07524c8 100644 --- a/docs/manual/mod/allmodules.xml.fr +++ b/docs/manual/mod/allmodules.xml.fr @@ -72,6 +72,7 @@ mod_logio.xml.fr mod_lua.xml.fr mod_macro.xml.fr + mod_md.xml mod_mime.xml.fr mod_mime_magic.xml.fr mod_negotiation.xml.fr diff --git a/docs/manual/mod/allmodules.xml.ja b/docs/manual/mod/allmodules.xml.ja index 8f12a7ad46..d1be4c872d 100644 --- a/docs/manual/mod/allmodules.xml.ja +++ b/docs/manual/mod/allmodules.xml.ja @@ -72,6 +72,7 @@ mod_logio.xml.ja mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml.ja mod_mime_magic.xml mod_negotiation.xml.ja diff --git a/docs/manual/mod/allmodules.xml.ko b/docs/manual/mod/allmodules.xml.ko index 70bd182f92..5f3b24988d 100644 --- a/docs/manual/mod/allmodules.xml.ko +++ b/docs/manual/mod/allmodules.xml.ko @@ -72,6 +72,7 @@ mod_logio.xml.ko mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/allmodules.xml.tr b/docs/manual/mod/allmodules.xml.tr index 30739a2a14..820a03b445 100644 --- a/docs/manual/mod/allmodules.xml.tr +++ b/docs/manual/mod/allmodules.xml.tr @@ -72,6 +72,7 @@ mod_logio.xml.tr mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/allmodules.xml.zh-cn b/docs/manual/mod/allmodules.xml.zh-cn index 0faf99a2e1..766442ff71 100644 --- a/docs/manual/mod/allmodules.xml.zh-cn +++ b/docs/manual/mod/allmodules.xml.zh-cn @@ -72,6 +72,7 @@ mod_logio.xml mod_lua.xml mod_macro.xml + mod_md.xml mod_mime.xml mod_mime_magic.xml mod_negotiation.xml diff --git a/docs/manual/mod/directives.html.en b/docs/manual/mod/directives.html.en index 23d8c306cd..c421f3d4e4 100644 --- a/docs/manual/mod/directives.html.en +++ b/docs/manual/mod/directives.html.en @@ -413,6 +413,24 @@
  • MaxSpareServers
  • MaxSpareThreads
  • MaxThreads
  • +
  • MDBaseServer
  • +
  • MDCAChallenges
  • +
  • MDCertificateAgreement
  • +
  • MDCertificateAuthority
  • +
  • MDCertificateProtocol
  • +
  • MDDriveMode
  • +
  • MDHttpProxy
  • +
  • MDMember
  • +
  • MDMembers
  • +
  • MDMustStaple
  • +
  • MDNotifyCmd
  • +
  • MDomain
  • +
  • <MDomainSet>
  • +
  • MDPortMap
  • +
  • MDPrivateKeys
  • +
  • MDRenewWindow
  • +
  • MDRequireHttps
  • +
  • MDStoreDir
  • MemcacheConnTTL
  • MergeTrailers
  • MetaDir
  • diff --git a/docs/manual/mod/index.html.en b/docs/manual/mod/index.html.en index a6699b0005..08afdd88c5 100644 --- a/docs/manual/mod/index.html.en +++ b/docs/manual/mod/index.html.en @@ -165,6 +165,9 @@ by other LDAP modules
    mod_lua
    Provides Lua hooks into various portions of the httpd request processing
    mod_macro
    Provides macros within apache httpd runtime configuration files
    +
    mod_md
    Managing domains across virtual hosts, certificate provisioning + via the ACME protocol +
    mod_mime
    Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type, language, character set and diff --git a/docs/manual/mod/mod_md.html b/docs/manual/mod/mod_md.html new file mode 100644 index 0000000000..52226c4e2d --- /dev/null +++ b/docs/manual/mod/mod_md.html @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: mod_md.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 diff --git a/docs/manual/mod/mod_md.html.en b/docs/manual/mod/mod_md.html.en new file mode 100644 index 0000000000..d98b25beaa --- /dev/null +++ b/docs/manual/mod/mod_md.html.en @@ -0,0 +1,657 @@ + + + + + +mod_md - Apache HTTP Server Version 2.4 + + + + + + + + +
    <-
    + +
    +

    Apache Module mod_md

    +
    +

    Available Languages:  en 

    +
    + + + + +
    Description:Managing domains across virtual hosts, certificate provisioning + via the ACME protocol +
    Status:Extension
    Module Identifier:md_module
    Source File:mod_md.c
    Compatibility:Available in version 2.4.30 and later
    +

    Summary

    + +

    + This module manages common properties of domains for one or more virtual hosts. + 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. The most famous Certificate Authority currently implementing the ACME protocol + is Let's Encrypt.

    + +

    Warning

    +

    This module is experimental. Its behaviors, directives, and + defaults are subject to more change from release to + release relative to other standard modules. Users are encouraged to + consult the "CHANGES" file for potential updates.

    +
    + +

    Simple configuration example:

    + +

    TLS in a VirtualHost context

    +
    MDomain example.org
    +
    +<VirtualHost *:443>
    +    ServerName example.org
    +    DocumentRoot htdocs/a
    +
    +    SSLEngine on
    +    # no certificates specification
    +</VirtualHost>
    + +

    + 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 (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 + domain will be answered with a '503 Service Unavailable'. +

    +
    + +

    Prerequisites

    +

    + This module requires mod_watchdog to be loaded as well. +

    + Certificate signup and renewal with Let's Encrypt requires your server to be + reachable on port 80 (http:) from the outside. The alternative method over + port 443 (https:) is currently disabled for security reasons (status from + 2018-01-14). +

    + The module will select from the methods offered by Let's Encrypt. If LE decides + at one point in the future, to re-enable it again, mod_md will + use it when suitable. +

    + But for now, only the port 80 variant is available (termed "http-01"). Only + when LE can reach your server on port 80 will mod_md work for + you. For now, at least. +

    + If you do not want to offer any sites on port 80 any more, you may leave it open + and redirect all requests to your https: sites instead. Use the + MDRequireHttps described below to do + that in a convenient fashion. This will continue to answer http: challenges + from Let's Encrypt. +

    +
    +
    + + +
    top
    +

    MDBaseServer Directive

    + + + + + + + +
    Description:Control if base server may be managed or only virtual hosts.
    Syntax:MDBaseServer on|off
    Default:MDBaseServer off
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + Controls if the base server, the one outside all VirtualHosts should be managed by + mod_md or not. Default is to not do this, for the very reason that + it may have confusing side-effects. It is recommended that you have virtual hosts + for all managed domains and do not rely on the global, fallback server configuration. +

    + +
    +
    top
    +

    MDCAChallenges Directive

    + + + + + + + +
    Description:Type of ACME challenge used to prove domain ownership.
    Syntax:MDCAChallenges name [ name ... ]
    Default:MDCAChallenges tls-sni-01 http-01
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + Sets challenge types and their execution order when proving domain ownership. + The names are protocol specific. + The current ACME protocol version implemented by Let's Encrypt defines two challenge + types that are supported by mod_md. By default, it will try + the one on port 443 when available. +

    + +
    +
    top
    +

    MDCertificateAgreement Directive

    + + + + + + +
    Description:The URL of the Terms-of-Service document, that the CA server requires you to accept.
    Syntax:MDCertificateAgreement url-of-terms-of-service
    Context:server config
    Status:Extension
    Module:mod_md
    +

    When you use mod_md to obtain a certificate, you become a customer of the CA (e.g. Let's Encrypt). That means you need to read and agree to their Terms of Service, + so that you understand what they offer and what they might exclude or require from you. + mod_md cannot, by itself, agree to such a thing. +

    +

    In case of Let's Encrypt, their current Terms of Service are here. + Those terms might (and probably will) change over time. So, the certificate renewal might require you to update this agreement URL.

    +

    Example

    MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf
    +MDomain example.org www.example.org mail.example.org
    +
    + +
    +
    top
    +

    MDCertificateAuthority Directive

    + + + + + + + +
    Description:The URL of the ACME Certificate Authority service.
    Syntax:MDCertificateAuthority url
    Default:MDCertificateAuthority https://acme-v01.api.letsencrypt.org/directory
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + The URL where the CA offers its service. +

    + Let's Encrypt offers, right now, two such URLs. One for the real certificates and + one for testing (their staging area, at https://acme-staging.api.letsencrypt.org/directory). + In order to have mod_md use this testing service, configure your + server like this: +

    +

    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
    +
    + +
    +
    top
    +

    MDCertificateProtocol Directive

    + + + + + + + +
    Description:The protocol to use with the Certificate Authority.
    Syntax:MDCertificateProtocol protocol
    Default:MDCertificateProtocol ACME
    Context:server config
    Status:Extension
    Module:mod_md
    +

    Specifies the protocol to use. Currently, only ACME is supported.

    + +
    +
    top
    +

    MDDriveMode Directive

    + + + + + + + +
    Description:Control when it is allowed to obtain/renew certificates.
    Syntax:MDDriveMode always|auto|manual
    Default:MDDriveMode auto
    Context:server config
    Status:Extension
    Module:mod_md
    +

    In 'auto' mode, mod_md will drive a Managed Domain's + properties (e.g. certificate management) whenever necessary. When a MD is not used + in any virtual host, the module will do nothing. When a certificate is missing, it + will try to get one. When a certificate expires soon (see + MDRenewWindow), it will + renew it. +

    + In 'manual' mode, it is your duty to do all this. The module will provide the existing + certificate to mod_ssl, if available. But it will not contact the CA for signup/renewal. + This can be useful in clustered setups where you want just one node to perform + the driving. +

    + The third mode 'always' is like 'auto', with the difference that + mod_md will not check if the MD is actually used. +

    + +
    +
    top
    +

    MDHttpProxy Directive

    + + + + + + +
    Description:Define a proxy for outgoing connections.
    Syntax:MDHttpProxy url
    Context:server config
    Status:Extension
    Module:mod_md
    +

    Use a http proxy to connect to the MDCertificateAuthority. Define this + if your webserver can only reach the internet with a forward proxy. +

    + +
    +
    top
    +

    MDMember Directive

    + + + + + + +
    Description:Additional hostname for the managed domain.
    Syntax:MDMember hostname
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + Instead of listing all dns names on the same line, you may use + MDMember to add such names + to a managed domain. +

    +

    Example

    <MDomainSet example.org>
    +    MDMember www.example.org
    +    MDMember mail.example.org
    +</MDomainSet example.org>
    +
    +

    + If you use it in the global context, outside a specific MD, you can only + specify one value, 'auto' or 'manual' as the default for all other MDs. See + MDomain for a + description of these special values. +

    + +
    +
    top
    +

    MDMembers Directive

    + + + + + + + +
    Description:Control if the alias domain names are automatically added.
    Syntax:MDMembers auto|manual
    Default:MDMembers auto
    Context:server config
    Status:Extension
    Module:mod_md
    +

    Defines if the ServerName and + ServerAlias values of a VirtualHost + are automatically added to the members of a Managed Domain or not. +

    + +
    +
    top
    +

    MDMustStaple Directive

    + + + + + + + +
    Description:Control if new certificates carry the OCSP Must Staple flag.
    Syntax:MDMustStaple on|off
    Default:MDMustStaple off
    Context:server config
    Status:Extension
    Module:mod_md
    +

    Defines if newly requested certificate should have the OCSP Must Staple flag + set or not. If a certificate has this flag, the server is required to send a + OCSP stapling response to every client. This only works if you configure + mod_ssl to generate this (see SSLUseStapling + and friends). +

    + +
    +
    top
    +

    MDNotifyCmd Directive

    + + + + + + +
    Description:Run a program when Managed Domain are ready.
    Syntax:MDNotifyCmd path
    Context:server config
    Status:Extension
    Module:mod_md
    +

    The configured executable is run when Managed Domains have signed up or + renewed their certificates. It is given the names of the processed MDs as + arguments. It should return status code 0 to indicate that it has + run successfully. +

    + +
    +
    top
    +

    MDomain Directive

    + + + + + + +
    Description:Define list of domain names that belong to one group.
    Syntax:MDomain dns-name [ other-dns-name... ] [auto|manual]
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + All the names in the list are managed as one Managed Domain (MD). + 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 <MDomainSet>. +

    + 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, + is the URL of the Terms of Service of the CA. When you configure the URL, + you confirm that you have read and agree to the terms described in the linked + document. Before you do that, the CA will not hand out certificates to you. +

    +

    Example

    ServerAdmin mailto:admin@example.org
    +MDCertificateAgreement https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf
    +MDomain example.org www.example.org
    +
    +<VirtualHost *:443>
    +    ServerName example.org
    +    DocumentRoot htdocs/root
    +
    +    SSLEngine on
    +</VirtualHost>
    +
    +<VirtualHost *:443>
    +    ServerName www.example.org
    +    DocumentRoot htdocs/www
    +
    +    SSLEngine on
    +</VirtualHost>
    +
    +

    + There are two special names that you may use in this directive: 'manual' + and 'auto'. This determines if a Managed Domain shall have exactly the + name list as is configured ('manual') or offer more convenience. With 'auto' + all names of a virtual host are added to a MD. Conventiently, 'auto' is also + the default. +

    +

    Example

    MDomain example.org
    +
    +<VirtualHost *:443>
    +    ServerName example.org
    +    ServerAlias www.example.org
    +    DocumentRoot htdocs/root
    +
    +    SSLEngine on
    +</VirtualHost>
    +
    +MDomain example2.org auto
    +
    +<VirtualHost *:443>
    +    ServerName example2.org
    +    ServerAlias www.example2.org
    +    ...
    +</VirtualHost>
    +
    +

    + In this example, the domain 'www.example.org' is automatically added to + the MD 'example.org'. Similarly for 'example2.org' where 'auto' is configured + explicitly. Whenever you add more ServerAlias names to this + virtual host, they will be added as well to the Manged Domain. +

    + If you prefer to explicitly declare all the domain names, use 'manual' mode. + An error will be logged if the names do not match with the expected ones. +

    + +
    +
    top
    +

    <MDomainSet> Directive

    + + + + + + +
    Description:Container for directives applied to the same managed domains.
    Syntax:<MDomainSet dns-name [ other-dns-name... ]>...</MDomainSet>
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + This directive allows you to define a Managed Domain (MD) with specific + settings, different from the global MD* ones. For example, you can have + such an MD use another CA then Let's Encrypt, have its unique renewal duration + etc. +

    +

    Example

    <MDomainSet sandbox.example.org>
    +    MDCertificateAuthority   https://someotherca.com/ACME
    +    MDCertificateAgreement   https://someotherca.com/terms/v_1.02.pdf
    +</MDomainSet>
    +
    +

    This is a specialized version of MDomain, + it should be used only when a fine grained configuration is required. + MDomain is the suggested choice + for the general use case.

    + +
    +
    top
    +

    MDPortMap Directive

    + + + + + + + +
    Description:Map external to internal ports for domain ownership verification.
    Syntax:MDPortMap map1 [ map2 ]
    Default:MDPortMap 80:80 443:443
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + The ACME protocol provides two method to verify domain ownership: one that uses + port 80 and one for port 443. If your server is not reachable by at least one + of the two, ACME will not work for you. +

    + mod_md will look at your server configuration and try to figure + out which of those are available. Then it can select the proper ACME challenge + to create a certificate for your site. +

    + However if you have some fancy port forwarding in place, your server may be + reachable from the Internet on port 443, but the local port that httpd uses is + another one. Your server might only listen on ports 5001 and 5002, but be reached + on ports 443 and 80. How should mod_md figure that one out? +

    + With MDPortMap you can tell it which 'Internet port' corresponds to which local + port. +

    +

    Example

    MDPortMap 80:- 443:5002
    +
    +

    + This example says that the server is not reachable on port 80 from the outside, but + local port 5002 is the one responding to https: requests. +

    + +
    +
    top
    +

    MDPrivateKeys Directive

    + + + + + + + +
    Description:Set type and size of the private keys generated.
    Syntax:MDPrivateKeys type [ params... ]
    Default:MDPrivateKeys RSA 2048
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + Defines what kind of private keys are generated for a managed domain and with + what parameters. The only supported type right now is 'RSA' and the only parameter + it takes is the number of bits used for the key. +

    + The current (2017) recommendation is at least 2048 bits and a smaller number is + not accepted here. Higher numbers offer longer security, but are computationally more + expensive, e.g. increase the load on your server. That might or might not be an + issue for you. +

    + Other key types will be defined in the future. +

    +

    Example

    MDPrivateKeys RSA 3072
    +
    +

    + Please note that this setting only has an effect on new keys. Any existing + private key you have remains unaffected. Also, this only affects private keys + generated for certificates. ACME account keys are unaffected by this. +

    + +
    +
    top
    +

    MDRenewWindow Directive

    + + + + + + + +
    Description:Control when a certificate will be renewed.
    Syntax:MDRenewWindow duration
    Default:MDRenewWindow 33%
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + If the validity of the certificate falls below duration, mod_md will get a + new signed certificate. +

    + Normally, certificates are valid for around 90 days and mod_md will renew + them the earliest 33% of their complete lifetime before they expire (so for + 90 days validity, 30 days before it expires). If you think this is not what + you need, you can specify either the exact time, as in: +

    +

    Example

    # 21 days before expiry
    +MDRenewWindow 21d 
    +# 30 seconds (might be close)
    +MDRenewWindow 30s
    +# 10% of the cert lifetime
    +MDRenewWindow 10%
    +
    +

    When in auto drive mode, the module will check every 12 hours at least + what the status of the managed domains is and if it needs to do something. + On errors, for example when the CA is unreachable, it will initially retry + after some seconds. Should that continue to fail, it will back off to a + maximum interval of hourly checks. +

    + +
    +
    top
    +

    MDRequireHttps Directive

    + + + + + + + +
    Description:Redirects http: traffic to https: for Managed Domains.
    Syntax:MDRequireHttps off|temporary|permanent
    Default:MDRequireHttps off
    Context:server config
    Status:Extension
    Module:mod_md
    +

    This is a convenience directive to ease http: to https: migration of + your Managed Domains. With: +

    +

    Example

    MDRequireHttps temporary
    +
    +

    you announce that you want all traffic via http: URLs to be redirected + to the https: ones, for now. This is safe and you can remove this again at + any time. +

    + The following has consequences: if you want client to no longer use the + http: URLs, configure: +

    +

    Permanent (for at least half a year!)

    MDRequireHttps permanent
    +
    +

    This does two things: +

    +
      +
    1. All request to the http: resources are redirected to the + same url with the https: scheme using the 301 + status code. This tells clients that this is intended to be forever and + the should update any links they have accordingly. +
    2. +
    3. All answers to https: requests will carry the header + Strict-Transport-Security with a life time of half a year. + This tells the browser that it never (for half a year) shall use http: + when talking to this domain name. Browsers will, after having seen this, refuse + to contact your unencrypted site. This prevents malicious middleware to + downgrade connections and listen/manipulate the traffic. Which is good. But + you cannot simply take it back again. +
    4. +
    +

    You can achieve the same with mod_alias and some Redirect configuration, + basically. If you do it yourself, please make sure to exclude the paths + /.well-known/* from your redirection, otherwise mod_md might have trouble + signing on new certificates. +

    +

    If you set this globally, it applies to all managed domains. If you want + it for a specific domain only, use: +

    +

    Example

    <MDomainSet xxx.yyy>
    +  MDRequireHttps temporary
    +</MDomainSet>
    +
    + +
    +
    top
    +

    MDStoreDir Directive

    + + + + + + + +
    Description:Path on the local file system to store the Managed Domains data.
    Syntax:MDStoreDir path
    Default:MDStoreDir md
    Context:server config
    Status:Extension
    Module:mod_md
    +

    + Defines where on the local file system the Managed Domain data is stored. This is + an absolute path or interpreted relative to the server root. The default will create + a directory 'md' in your server root. +

    + If you move this and have already data, be sure to move/copy the data first to + the new location, reconfigure and then restart the server. If you reconfigure + and restart first, the server will try to get new certificates that it thinks + are missing. +

    + +
    +
    +
    +

    Available Languages:  en 

    +
    top

    Comments

    Notice:
    This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
    +
    + \ No newline at end of file diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 0f52481113..7c840f1ea1 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -671,6 +671,24 @@ simultaneously MaxSpareServers number 10 sMMaximum number of idle child server processes MaxSpareThreads numbersMMaximum number of idle threads MaxThreads number 2048 sMSet the maximum number of worker threads +MDBaseServer on|off off sEControl if base server may be managed or only virtual hosts. +MDCAChallenges name [ name ... ] tls-sni-01 http-01 sEType of ACME challenge used to prove domain ownership. +MDCertificateAgreement url-of-terms-of-servicesEThe URL of the Terms-of-Service document, that the CA server requires you to accept. +MDCertificateAuthority url https://acme-v01.ap +sEThe URL of the ACME Certificate Authority service. +MDCertificateProtocol protocol ACME sEThe protocol to use with the Certificate Authority. +MDDriveMode always|auto|manual auto sEControl when it is allowed to obtain/renew certificates. +MDHttpProxy urlsEDefine a proxy for outgoing connections. +MDMember hostnamesEAdditional hostname for the managed domain. +MDMembers auto|manual auto sEControl if the alias domain names are automatically added. +MDMustStaple on|off off sEControl if new certificates carry the OCSP Must Staple flag. +MDNotifyCmd pathsERun a program when Managed Domain are ready. +MDomain dns-name [ other-dns-name... ] [auto|manual]sEDefine list of domain names that belong to one group. +<MDomainSet dns-name [ other-dns-name... ]>...</MDomainSet>sEContainer for directives applied to the same managed domains. +MDPortMap map1 [ map2 ] 80:80 443:443 sEMap external to internal ports for domain ownership verification. +MDPrivateKeys type [ params... ] RSA 2048 sESet type and size of the private keys generated. +MDRenewWindow duration 33% sEControl when a certificate will be renewed. +MDRequireHttps off|temporary|permanent off sERedirects http: traffic to https: for Managed Domains. +MDStoreDir path md sEPath on the local file system to store the Managed Domains data. MemcacheConnTTL num[units] 15s svEKeepalive time for idle connections MergeTrailers [on|off] off svCDetermines whether trailers are merged into headers MetaDir directory .web svdhEName of the directory to find CERN-style meta information diff --git a/docs/manual/sections.html.en b/docs/manual/sections.html.en index 7528c0457d..ea96d04d53 100644 --- a/docs/manual/sections.html.en +++ b/docs/manual/sections.html.en @@ -46,7 +46,7 @@ to change the scope of other configuration directives.

    Types of Configuration Section Containers

    - +

    There are two basic types of containers. Most containers are evaluated for each request. The enclosed directives are applied only diff --git a/docs/manual/sections.xml.fr b/docs/manual/sections.xml.fr index 33f6ca5802..b3461814b8 100644 --- a/docs/manual/sections.xml.fr +++ b/docs/manual/sections.xml.fr @@ -3,7 +3,7 @@ - + + + +