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

Can't create ACME cert from CSR

    XMLWordPrintable

    Details

      Description

      Cert renewal is still broken (with the same error as below), so I tried to start over.

      Created a new CSR with my host name in Common Name, tried to create an ACME cert from it using Route53:

      Error: Traceback (most recent call last):
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
          await self.future
        File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 385, in __run_body
          rv = await self.method(*([self] + args))
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
          return await f(*args, **kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/crypto.py", line 1279, in do_create
          job, data
        File "/usr/local/lib/python3.7/site-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/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
          result = self.fn(*self.args, **self.kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
          return f(*args, **kwargs)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/crypto.py", line 1325, in __create_acme_certificate
          final_order = self.acme_issue_certificate(job, 25, data, csr_data)
        File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/crypto.py", line 956, in acme_issue_certificate
          normalised_san = ':'.join(self.middleware.call_sync('cryptokey.normalize_san', [domain]))
      TypeError: sequence item 0: expected str instance, list found
      

      Do you have cert renewal working internally somewhere? Am I doing something unsual?

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                karlshea Karl Shea
                Watchers:
                Bonnie Follweiler, Karl Shea
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: