Skip to content

Wildcard certs do not work for the AWS route53 provider #162

Description

@hobosteaux

What version of sewer are you using?

0.8.1

What did you do? (be as detailed as you can)

Instantiated a client with the following parameters:

client = sewer.Client(
    domain_name="*.test.domain.com",
    dns_class=sewer.Route53Dns(),
    account_key= ...
)

What did you expect to see/happen/not happen?

The cert to be created

What did you actually see/happen?

The TXT record was created under _acme-challenge.*.test.domain.com, but the challenge was looking for it under _acme-challenge.test.domain.com.

Paste here the log output generated by sewer, if any. Please remember to remove any sensitive items from the log before pasting here.

If you can, run sewer with loglevel set to debug; eg sewer --loglevel DEBUG

get_identifier_authorization_success. identifier_auth={'domain': '*.test.domain.com', 'url': '<snip>', 'wildcard': True, 'dns_token': '<snip>', 'dns_challenge_url': '<snip>'}
check_authorization_status_response. status_code=200. response={'identifier': {'type': 'dns', 'value': 'test.domain.com'}, 'status': 'invalid', 'expires': '2020-04-13T23:36:27Z', 'challenges': [{'type': 'dns-01', 'status': 'invalid', 'error': {'type': 'urn:ietf:params:acme:error:dns', 'detail': 'DNS problem: NXDOMAIN looking up TXT for _acme-challenge.test.domain.com - check that a DNS record exists for this domain', 'status': 400}, 'url': '<snip>', 'token': '<snip>'}], 'wildcard': True}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions