I want to enable OCSP stapling with mod_md on my Debian 10 server with Apache httpd. I have enabled the module, and the command MDomain example.org
is understood, but the example
<MDomain mydomain.net>
MDStapling on
</MDomain>
yields an error "Invalid command '<MDomain', perhaps misspelled or defined by a module not included..." when starting apache2
. And if I just keep MDStapling on
, I get an error "Invalid command 'MDStapling', perhaps misspelled or defined by a module not included...".
If do not enable the mod_md module, I get an error on the command MDomain example.org
. Thus the fact that command is understood shows that this module has been loaded.
Note: the suggestion to use mod_md comes from this comment of Apache bug 57121.