Having done this on my old NAS I though this would take a few minutes to copy the relevant data over and generate a certificate on my new NAS. Sadly not the case.
Everything’s fine until I click the “spanner” to create the ACME certificate as at this point it fails with the error:
File "/usr/lib/python3/dist-packages/middlewared/plugins/acme_protocol.py", line 184, in do_create
'contact': register.body.contact[0],
~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: tuple index out of range
When trying to recreate the CSR and re-run it I do not see the error above but do see an error in the logs saying
certificate.create
Initial validation complete.
Either way, a certificate is not generated.
Any help on diagnosing or fixing this would be appreciated.