danb35/deploy-freenas

Error importing on Truenas Scale Bluefin

sebabordon opened this issue · 1 comments

Hello!.
I'm importing the certificate I get on a docker container for my domain (wildcard) to Truenas Scale Bluefin now.
The script runs, but gives the following error:

python3 ./deploy_freenas.py
Certificate import successful
Certificate list successful
Setting active certificate successful
Traceback (most recent call last):
  File "/mnt/pool1/Archivos/Certificates/truenas/deploy-freenas/./deploy_freenas.py", line 215, in <module>
    if set(cert_data['san']) == set(new_cert_data['san']):

I do now know where the problem could be.

Solved!. The issue was that one of the certificates imported a few days ago had a blank in the SAN field inside Truenas. Removed that certificate (that was previously imported by this script) fixed the issue.