Page 1 of 1

unable to access after adding new cert

Posted: 18 Mar 2021, 06:03
by deejc
i added my own certificate via the TOS interface, then i moved my NAS so i shut it down, moved it then restarted it
the TOS interface wasnt working, Luckily i had enabled SSH so i accessed and checked nginx and i see error in the config using nginx -t
it cannot find the cert, i look in /etc/ssls/ and i see only 2 strange files
.crt
.key
i run openssl on the .crt file and i find its my cert, i renamed it to match what nginx thinks it should find and rename the key and now TOS is accessible

but i would have been locked out completely if i had not enabled SSH :!: , this is NOT acceptable :evil: , how would i have got to my data if i didnt have SSH enabled, SMB was enabled and i would have to had buy new nas, copy all the data off etc ...

Re: unable to access after adding new cert

Posted: 18 Mar 2021, 09:59
by RyanYang
I am sorry to hear that you have encountered this problem.
If you do not enable SSH, you can solve this problem by reinstalling the system.
Reinstalling the system will not affect your data.
We have resolved the issue of abnormalities in some security certificates, and we will release a new version as soon as possible.

Re: unable to access after adding new cert

Posted: 18 Mar 2021, 14:58
by deejc
Thanks a lot its very worrying for a user to have the TOS stop working luckily I work with Linux all day so I knew how to fix it but normal users would be ina huge panic.