Traceback (most recent call last):
File "class/setPanelLets.py", line 111, in __read_site_cert
key_file = "{path}{domain}/{key}".format(path=self.__vhost_cert_path,domain=domain_cert["subject"],key="privkey.pem")
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init_.py", line 1578, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init_.py", line 1526, in run
result = getattr(toObject,get.action)(get)
File "class/config.py", line 764, in SetPanelSSL
sps = sp.set_lets(get)
File "class/setPanelLets.py", line 228, in set_lets
self.copy_cert(domain_cert)
File "class/setPanelLets.py", line 189, in copy_cert
res = self.__read_site_cert(domain_cert)
File "class/setPanelLets.py", line 115, in __read_site_cert
key_file = "/www/server/panel/{}/privkey.pem".format(domain_cert['save_path'])
TypeError: 'NoneType' object is not subscriptable