unable to access after adding new cert
Posted: 18 Mar 2021, 06:03
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
, 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 ...
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