A2MD(1)

πŸ“¦
version 2.6.11 Β· 5 versions
, in fedora 43, fedora 44

✨ 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