Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109855

[certificates] ACME crashes with valid credentials and wildcard domain

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      Trying to create an ACME certificate (having bypassed bug NAS-109780 by setting a root email address), throws the following error:

      Common:
      *.something.com

      SAN:
      something.com
       

      Error: Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/middlewared/job.py", line 378, in run
          await self.future
        File "/usr/lib/python3/dist-packages/middlewared/job.py", line 414, in __run_body
          rv = await self.method(*([self] + args))
        File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1001, in nf
          return await f(*args, **kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/crypto.py", line 1584, in do_create
          data = await self.middleware.run_in_thread(
        File "/usr/lib/python3/dist-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
          return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
        File "/usr/lib/python3/dist-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
          result = self.fn(*self.args, **self.kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1005, in nf
          return f(*args, **kwargs)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/crypto.py", line 1632, in __create_acme_certificate
          final_order = self.middleware.call_sync('acme.issue_certificate', job, 25, data, csr_data)
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1266, in call_sync
          return methodobj(*prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/plugins/acme_protocol_/issue_cert.py", line 95, in issue_certificate
          return acme_client.poll_and_finalize(
        File "/usr/lib/python3/dist-packages/acme/client.py", line 710, in poll_and_finalize
          orderr = self.poll_authorizations(orderr, deadline)

       

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  waqar Waqar Ahmed
                  Reporter:
                  Ornias Kjeld Schouten-lebbing
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: