Page 1 of 1

Missing all certificates from Control Panel

Posted: 12 Oct 2023, 18:28
by brunix86
Hi,

After adding a custom self-signed SSL certificate, from Control Panel > Security > Certificate page, all existing certificates are disappeared from the page. This is the first time that I use this TOS feature.
Certificate page empty.png
Certificate page settings empty.png
I can confirm that nginx and other services are working fine, because the certificate files are existing into system.
I checked this from SSH, path "/etc/nginx" and "/etc/nginx/ssl":
Certificate files.png
Certificate files 2.png
If I try to add other certificates from Control Panel, the system tells me that already exist, but it's not true.
And if I click Confirm, I cannot see the certificate.
Add new certificate.png
I tried to reboot the TNAS but the problem still happen.
Could you kindly check what's wrong in Certificate page?
Below, my system specs:
  • TNAS F4-423
  • TOS 5.1.67 (x86-64) > fresh installed some weeks ago
Thanks

Re: Missing all certificates from Control Panel

Posted: 13 Oct 2023, 14:13
by TMLyy
Hello, our laboratory did not reproduce the problem you encountered. We suggest that you clear the browser cache and force a refresh of the browser page to try.In addition, you can also contact the customer service window on the right side of the technical support email or official website homepage. We can arrange for engineers to assist you with troubleshooting through remote access.

Re: Missing all certificates from Control Panel

Posted: 13 Oct 2023, 14:57
by brunix86
{L_BUTTON_AT}TMLyy

Hi,

I found the problem into "organization name" field of Certificate page.
If the certificate doesn't have the organization name (issuer) the web page try to do a "toString()" of "null" and the error happens.
Maybe, your Dev Team have to manage also certificates without an organization name (this is useful for self-signed certs).

I solved deleting the imported certificates with no organization name, and I re-create and re-imported them with success.

Thanks and Best Regards