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

Unable to Delete Expired ACME Certificate

    XMLWordPrintable

    Details

      Description

      I have an ACME Certificate that failed to renew due to some other issue that was resolved. The expired certificate cannot be deleted because an expired certificate cannot be revoked.

      Error:

      [EFAULT] Failed to revoke certificate: urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Certificate is expired
      

      More Info:

      
      During handling of the above exception, another exception occurred:
      
      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 387, in __run_body
          rv = await self.middleware.run_in_thread(self.method, *([self] + args))
        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 1637, in do_delete
          raise CallError(f'Failed to revoke certificate: {e}')
      middlewared.service_exception.CallError: [EFAULT] Failed to revoke certificate: urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Certificate is expired
      
      

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                lola Lola Yang (Inactive)
                Reporter:
                redbeard0x0a Bryan Rehbein
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: