OK – acmeapi.tech

Apache is working correctly.

lego.yml

storage: /etc/lego/acmeapi.tech

accounts:
  certum-account:
    server: certum
    email: YOUR_EMAIL
    acceptsTermsOfService: true
    eab:
      kid: YOUR_KID
      hmacKey: YOUR_HMAC_KEY

servers:
  certum:
    url: https://acme.certum.pl/directory

challenges:
  http-chal:
    http:
      webroot: /var/www/acmeapi.tech/public

certificates:
  acmeapi-tech:
    account: certum-account
    challenge: http-chal
    domains:
      - acmeapi.tech
      - www.acmeapi.tech
    renew:
      days: 30

hooks:
  deploy:
    command: systemctl reload apache2