I can not get a certificate for apache

Hello!
page available http://mydomain
available on it Ubuntu Apache2 Ubuntu Default Page
Help !

root@mobile:/etc# certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter ‘c’ to cancel): mydomain
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mydomain
Enabled Apache rewrite module
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. mydomain (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain/.well-known/acme-challenge/yTGVAyLIZ9l8pXCsf8BVRIIcGjyFivCauAve_XfPK34 [5.188.154.62]: “Unable to Process Request

Http Status Code: 500

Reason: HTTP Server: No matching”

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: mydomain
    Type: unauthorized
    Detail: Invalid response from
    http://mydomain/.well-known/acme-challenge/yTGVAyLIZ9l8pXCsf8BVRIIcGjyFivCauAve_XfPK34
    [5.188.154.62]: “Unable to Process
    Request

    Http Status Code: 500

    Reason:
    HTTP Server: No matching”

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address.
    root@mobile:/etc# certbot --apache certonly
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Plugins selected: Authenticator apache, Installer apache
    Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
    No names were found in your configuration files. Please enter in your domain
    name(s) (comma and/or space separated) (Enter ‘c’ to cancel): mydomain
    Obtaining a new certificate
    Performing the following challenges:
    http-01 challenge for mydomain
    Enabled Apache rewrite module
    Waiting for verification…
    Cleaning up challenges
    Failed authorization procedure. mydomain (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mydomain/.well-known/acme-challenge/FAvODx180WyBmw6NU9_Q3EAMWngK2hXZiktZSMZGU8o [5.188.154.62]: “Unable to Process Request

    Http Status Code: 500

    Reason: HTTP Server: No matching”

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: mydomain
    Type: unauthorized
    Detail: Invalid response from
    http://mydomain/.well-known/acme-challenge/FAvODx180WyBmw6NU9_Q3EAMWngK2hXZiktZSMZGU8o
    [5.188.154.62]: “Unable to Process
    Request

    Http Status Code: 500

    Reason:
    HTTP Server: No matching”

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address.

Your webserver seems to be running Lotus-Domino, not Apache?

Perhaps double check how you have your local network setup, so that external visitors can reach your Apache server?

Hi @daniil

what's your domain name?

Is it a public, worldwide unique domain name? Or only a local name?

If you want to create a certificate, you need a worldwide unique domain name.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.