Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

ACME not working [resolved but mayor documentation issues between them] #4922

@r3k2

Description

@r3k2

Im trying to confitre the ACME feature but I keep getting

 txacme.client.AuthorizationFailed: AuthorizationFailed(<Status(invalid) Identifier(typ=IdentifierType(dns), value='matrix.hispagatos.org') [Error(typ='urn:acme:error:unauthorized', title=None, detail='Invalid response from http://matrix.hispagatos.org/.well-known/acme-challenge/QqoXra18rEeTNfmpqr9zEY5UrpIvHCQEIeasB-X7srg [157.230.109.18]: "\\n<html>\\n  <head><title>404 - No Such Resource</title></head>\\n  <body>\\n    <h1>No Such Resource</h1>\\n    <p>No such child resourc"')]>)
2019-03-23 03:37:46,073 - twisted - 240 - INFO - - (TCP Port 8009 Closed)

my nginx config:

server {
       listen 80;
       server_name matrix.hispagatos.org;

       location /.well-known/acme-challenge/ {
                default_type "text/plain";
                proxy_pass http://127.0.0.1:8009/;
                allow all;
        }

        location /.well-known/acme-challenge {
                default_type "text/plain";
                proxy_pass http://127.0.0.1:8009/;
                allow all;
        }

       location / {
                return 301 https://$server_name$request_uri;
        }

}

seems to be doing the proxy_pass ok, but when it gets to synapse port 8009 it cant find the random string made for ACME request authorization..
NOTE: only reason I have two similar entries on nginx is because I saw some people say you need a ending / so for testing I just added the two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions