Skip to content

CloudFlare CAA validation problems #391

Closed

Description

@kuba

Let's Encrypt users are experiencing problems with getting authorizations for domains hosted at CloudFlare DNS service:

@rolandshoemaker debugged it at certbot/certbot#503 (comment)

Apart from tracking the progress on upstream response, this bug is here to make sure that Boulder does not just return serverInternal error (causing "Maintenance Time" at the LB), but inform the client about SERVFAIL DNS resolution error instead.

cc afftected users: @GabLeRoux, @jonathannoah

Activity

  1. kuba commented on Jun 22, 2015

    @kuba
    ContributorAuthor

    Tested against Boulder=(382-383-dns_failure_in_wild +9d84a89 Sat Jun 20 08:05:00 UTC 2015) Golang=(devel +b39487b Tue Jun 9 09:56:10 2015 +0000) BuildHost=([email protected])

  2. kuba commented on Jun 22, 2015

    @kuba
    ContributorAuthor

    Returned error: acme.messages2.Error: serverInternal :: The server experienced an internal error :: Error creating new authz

  3. jcjones commented on Jun 22, 2015

    @jcjones
    Contributor

    The failure happens on CheckCAARecords:

        "message": " [s>][VA.server][RA->VA] replying CheckCAARecords(eyJlcnJvciI6eyJ2YWx1ZSI6IkludmFsaWQgcmVzcG9uc2UgY29kZTogMi1TRVJWRkFJTCJ9fQ) [Vp1XDYDO_dZfzXYVBT5TkBvu0_mVFgOEhJpjGHZfxdw]",

    which is

    {"error":{"value":"Invalid response code: 2-SERVFAIL"}
  4. jcjones commented on Jun 22, 2015

    @jcjones
    Contributor

    Note to self: this is a DNS resolver issue.
    dig totemastudio.com -t TYPE257 @sid.ns.cloudflare.com returns REFUSED, whereas doing the same with our local resolver returns SERVFAIL, causing CheckCAARecords to abort.

    We can probably fix this at our resolver.

  5. jcjones commented on Jun 22, 2015

    @jcjones
    Contributor

    While we can and should make the errors better, this is an ops issue to get our DNS setup complete. I've opened an issue at ops to remind me to do this sooner rather than later, though due to work commitments it may not get fixed this week. My apologies to the affected testers!

  6. added this to the General Availability milestone on Jun 24, 2015
  7. rolandshoemaker commented on Sep 15, 2015

    @rolandshoemaker
    Contributor

    This was essentially closed in code, although there may still be ops work that needs to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions