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

CLONE - [Certificates] Creating ACME certificate fails stating missing"root email adress"

    XMLWordPrintable

    Details

    • Impact:
      Medium

      Description

      Currently (Latest Nightly, SCALE)  a CSR can't be used to request an ACME certificate, because (even when all fields are correctly filled, including Email Address), it prompts the user for a correct "root email address"  (whatever the heck a "root email adress" might be).

      Relevant other settings used:
      DNS provider: Cloudflare

       

      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 76, in issue_certificate
          acme_client, key = self.middleware.call_sync(
        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_/acme_svc.py", line 18, in get_acme_client_and_key
          data = self.middleware.call_sync(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1255, in call_sync
          return self.run_coroutine(methodobj(*prepared_call.args))
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1295, in run_coroutine
          return fut.result()
        File "/usr/lib/python3.9/concurrent/futures/_base.py", line 433, in result
          return self.__get_result()
        File "/usr/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
          raise self._exception
        File "/usr/lib/python3/dist-packages/middlewared/service.py", line 498, in create
          rv = await self.middleware._call(
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1207, in _call
          return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
        File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1111, in run_in_executor
          return await loop.run_in_executor(pool, 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/acme_protocol.py", line 146, in do_create
          raise CallError(
      middlewared.service_exception.CallError: [EFAULT] Please specify root email address which will be used with the ACME server
      

       

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  william William Grzybowski
                  Reporter:
                  waqar Waqar Ahmed
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated: