]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge of 1893969,1894610,1894718,1895285,1895287 from trunk:
authorStefan Eissing <icing@apache.org>
Wed, 24 Nov 2021 11:07:53 +0000 (11:07 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 24 Nov 2021 11:07:53 +0000 (11:07 +0000)
commite924a7c6f87cbe64a70536633b19c96f7c913ac1
tree7e387e0eca0682bef0684e50262767a459e5c93e
parent0765b88b39a21361b11c6afecf86b39681174b89
Merge of 1893969,1894610,1894718,1895285,1895287 from trunk:

  *) mod_md: Fix memory leak in case of failures to load the private key.
     PR 65620 [ Filipe Casal <filipe.casal@trailofbits.com> ]
  *) mod_md: adding v2.4.8 with the following changes
    - Added support for ACME External Account Binding (EAB).
      Use the new directive `MDExternalAccountBinding` to provide the
      server with the value for key identifier and hmac as provided by
      your CA.
      While working on some servers, EAB handling is not uniform
      across CAs. First tests with a Sectigo Certificate Manager in
      demo mode are successful. But ZeroSSL, for example, seems to
      regard EAB values as a one-time-use-only thing, which makes them
      fail if you create a seconde account or retry the creation of the
      first account with the same EAB.
    - The directive 'MDCertificateAuthority' now checks if its parameter
      is a http/https url or one of a set of known names. Those are
      'LetsEncrypt', 'LetsEncrypt-Test', 'Buypass' and 'Buypass-Test'
      for now and they are not case-sensitive.
      The default of LetsEncrypt is unchanged.
    - `MDContactEmail` can now be specified inside a `<MDomain dnsname>`
      section.
    - Treating 401 HTTP status codes for orders like 403, since some ACME
      servers seem to prefer that for accessing oders from other accounts.
    - When retrieving certificate chains, try to read the repsonse even
      if the HTTP Content-Type is unrecognized.
    - Fixed a bug that reset the error counter of a certificate renewal
      and prevented the increasing delays in further attempts.
    - Fixed the renewal process giving up every time on an already existing
      order with some invalid domains. Now, if such are seen in a previous
      order, a new order is created for a clean start over again.
      See <https://github.com/icing/mod_md/issues/268>
    - Fixed a mixup in md-status handler when static certificate files
      and renewal was configured at the same time.
  *) mod_md: values for External Account Binding (EAB) can
     now also be configured to be read from a separate JSON
     file. This allows to keep server configuration permissions
     world readable without exposing secrets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1895289 13f79535-47bb-0310-9956-ffa450edef68
27 files changed:
changes-entries/md_2.4.8.txt [new file with mode: 0644]
changes-entries/md_2.4.9.txt [new file with mode: 0644]
changes-entries/pr65620.txt [new file with mode: 0644]
docs/manual/mod/mod_md.xml
modules/md/md.h
modules/md/md_acme.c
modules/md/md_acme.h
modules/md/md_acme_acct.c
modules/md/md_acme_acct.h
modules/md/md_acme_authz.c
modules/md/md_acme_drive.c
modules/md/md_acme_order.c
modules/md/md_acme_order.h
modules/md/md_acmev2_drive.c
modules/md/md_core.c
modules/md/md_crypt.c
modules/md/md_crypt.h
modules/md/md_jws.c
modules/md/md_jws.h
modules/md/md_reg.c
modules/md/md_status.c
modules/md/md_store_fs.c
modules/md/md_version.h
modules/md/mod_md.c
modules/md/mod_md_config.c
modules/md/mod_md_config.h
modules/md/mod_md_status.c