Commit Graph
2 Commits
  • fix: rage4 - add error 400 and TXT cleanup
    The following error happens if the header is set
        to 'Content-Type: application/json':
    
            {"statusCode":400,"message":"One or more errors occurred!",
            "errors":{"serializerErrors":["The input does not contain
            any JSON tokens. Expected the input to start with a valid
            JSON token, when isFinalBlock is true. LineNumber:
            0 | BytePositionInLine: 0."]}}
    
        Fix TXT removal
  • dns_aws: Fix when _acme-challenge is a hostedzone
    The function '_get_root' tries to retrieve the
        hostedzone iterating the domains, eg:
          1. srv.prod.example.com
          2. prod.example.com
          3. example.com
        This doesn't work if '_acme-challenge' is in it's
        own hostedzone for security reasons.
        Starting that iteration with '_acme-challenge.srv.prod.example.com'
        fixes this issue.