mod_md
02/11/2020
mod_md
Certificate provisioning using ACME for the Apache HTTP Server
NAME
a2md - Show and manipulate Apache Managed Domains
SYNOPSIS
a2md [options] {acme | add | update | drive | list | store} [cmd options] [args] |
DESCRIPTION
The a2md utility can be used to configure and update managed domains with the mod_md module for Apache HTTP Server. Managed Domains are virtual hosts which automatically obtain and renew TLS certificates from an ACME server.
OPTIONS
-a arg, --acme arg
The url of the ACME server directory
-d arg, --dir arg
Directory for file data
-h, --help
Print usage information
-j, --json
Produce JSON output
-p arg, --proxy arg
Use the HTTP proxy url
-q, --quiet
Produce less output
-t arg, --terms arg
You agree to the terms of services (url)
-v, --verbose
Produce more output
-V, --version
Print version
ACME server commands
a2md acme {newreg | delreg | agree | authz | validate} [opts] [args] |
newreg
newreg contact-uri [contact-uri...] |
delreg
delreg account |
agree
agree account |
authz
authz account domain |
validate
validate account |
Managed domain addition
a2md add [opts] domain [domain...] |
Updating managed domain
a2md update name [opts] {domains | ca | account | contacts | agreement} |
URL of ACME server can be also updated if -a| --acme option is present.
domains
domains dname [dname...] |
ca
ca url [proto] |
Currently only ACME (LetsEncrypt) proto is implemented.
account
account |
contacts
contacts email [email...] |
agreement
agreement URI |
Drive managed domains
a2md drive [md...] [options...] |
Options
-c arg, --challenge arg
Which challenge type to use
-f, --force
Force driving the managed domain, even when it seems valid
-r, --reset
Reset any staging data for the managed domain
List managed domamins
a2md list |
Manipulating MD store
a2md store {add | remove | list | update} [opts] [args] |
add
add dns [dns2...] |
remove
remove [-f | --force] name [name...] |
When -f or --force option is specified, force managed domain removal - be silent about missing domains
list
list |
update
update name [domains dname [dname...]] |
URL of ACME server can be also updated if -a| --acme option is present.