A2MD(1)
β¨ A2MD(1) β the a2md manual, but make it cute π
π NAME
okay so a2md is literally the tool for showing and manipulating Apache Managed Domains π₯ bestie, you need this one.
π¦ SYNOPSIS
a2md [options] {acme | add | update | drive | list | store}
[cmd options] [args]
πΈ DESCRIPTION
ngl the a2md utility is how you configure and update managed domains with the mod_md module for Apache HTTP Server π
. Managed Domains are virtual hosts that automatically obtain and renew TLS certificates from an ACME server. it's giving set-it-and-forget-it πβ¨
π 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]
play with the ACME server π for most of these commands you need to specify the url of the ACME server directory.
newreg
newreg contact-uri [contact-uri...]
register a new account at the ACME server with the given contact-uri (email) βοΈ
delreg
delreg account
delete an existing ACME account ποΈ
agree
agree account
agree to the ACME terms of service π
authz
authz account domain
request a new authorization for an account and domain π
validate
validate account
validate account existence β
π· Managed domain addition
a2md add [opts] domain [domain...]
adds a new managed domain. it must not overlap with existing domains π ββοΈ
π Updating managed domain
a2md update name [opts] {domains | ca | account | contacts | agreement}
update a managed domain's properties, where name is the managed domain that's getting updated π
the URL of the ACME server can also be updated if -a or --acme is present β¨
domains
domains dname [dname...]
update the domain where dname is the domain name that gets updated π‘
ca
ca url [proto]
the URL where the CA offers its service π’
currently only ACME (LetsEncrypt) proto is implemented. only one option for now, bestie π«
account
account
account name on the corresponding ACME server π€
contacts
contacts email [email...]
contact address the ACME server uses to inform you about renewals or changed terms of service π¬
agreement
agreement URI
URI pointing to the terms of service of the ACME server π
π§ Drive managed domains
a2md drive [md...] [options...]
drive all of the mentioned managed domains toward completeness ππ¨
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
list all managed domains π
π Manipulating MD store
a2md store {add | remove | list | update} [opts] [args]
manipulate the MD store ποΈ
add
add dns [dns2...]
add a new managed domain dns with all the additional domain names π
remove
remove [-f | --force] name [name...]
remove the managed domains name from the store π
when -f or --force is specified, force the managed domain removal and be silent about missing domains π€«
list
list
list all managed domains in the store π
update
update name [domains dname [dname...]]
if the domains command is specified followed by one or more domains, the MD store will be updated with those domains π
the URL of the ACME server can also be updated if -a or --acme is present π
π AUTHORS
Stefan Eissing <stefan.eissing@greenbytes.de> β author π
Lubos Uhliarik <luhliari@redhat.com> β documentation π
mod_md Β· 05/10/2026 Β· A2MD(1) β that's a wrap, bestie! ππ periodt π β¨
π¦ where this page comes from
- fedora 43: mod_md 1:2.6.11-2.fc43 Β· Apache-2.0
- fedora 44: mod_md 1:2.6.11-2.fc44 Β· Apache-2.0
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms