Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-9151

ACME Response did not match challenge's requirement

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not needed to fix
    • Affects Version/s: EJBCA 7.4.1
    • Fix Version/s: None
    • Component/s: Protocols
    • Environment:

      Description

      Steps:

      1. From the apache server, run this command
      sudo certbot --no-verify-ssl --server https://192.168.56.110:8442/ejbca/acme/directory certonly --webroot -w /var/www/ -d example.com

      ACTUAL:
      An unexpected error occurred:

      letsencrypt response
      Response received didn't match the challenge's requirements

      Wildfly Log

      Base64 decoded request data:
      protected:

      {"alg": "RS256", "kid": "https://192.168.56.110:8442/ejbca/acme/acct/CgZgEAaTAwkRPhpdrwN9jg", "nonce": "AAABch2-nk0AAAAAAAAAHfpSrMt3ckrrr7QHkLJdFLZyBoMrcekTySsgBl4ihtcw19udy2gSa1n2tahsxa1q9Q", "url": "https://192.168.56.110:8442/ejbca/acme/acct/CgZgEAaTAwkRPhpdrwN9jg/chall/QMrAcKsKooZALx3zuUwsDA"}

      payload:

      { "resource": "challenge", "type": "http-01" }

      Response status: 401
      ContentType: application/json;charset=UTF-8
      CharacterEncoding: UTF-8
      (Not yet final) Response headers:
      Replay-Nonce ->
      Replay-Nonce: AAABch2-n7IAAAAAAAAAH_pSrMt3ckrrr7QHkLJdFLaMr0a29iqjV6hJuM3WR2AUxNiRW6Yymad3gsAnLy-9Kg
      Content-Language ->
      Content-Language: en
      Content-Type ->
      Content-Type: application/json;charset=UTF-8
      Response data:

      { "detail":"Response received didn't match the challenge's requirements", "type":"urn:ietf:params:acme:error:incorrectResponse" }

      EXPECTED:
      Certificate issued.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ulf_undmark Ulf Undmark
              Reporter:
              margarett Margaret Thomas
              Verified by:
              Ulf Undmark
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h