Hi,
We have a TSW202 and the web cert is out of date. We want to replace it with a cert from our CA.
Firmware: TSW2_R_00.01.04.1
There is no way in the GUI. How can I install a new SSL cert?
Hi,
We have a TSW202 and the web cert is out of date. We want to replace it with a cert from our CA.
Firmware: TSW2_R_00.01.04.1
There is no way in the GUI. How can I install a new SSL cert?
Hello,
By default, the SSL certificates on the TSW202 are located in the /etc
directory. You can verify their presence by logging into the device via CLI/SSH and running the following command:
ls /etc
You should see two HTTP certificates along with their corresponding key files.
Before making any changes, it’s higly recommended backing up the existing certificates and key files. You can export/copy them using WinSCP on Windows OS.
Or on Linux-based OS creating a new directory and moving them with commands:
cp /etc/uhttpd-ca.crt /etc/<created directory>
cp /etc/uhttpd/key.pem /etc/<created directory>
Once the backup is complete, you can import your required certificate and key files into the /etc
directory using WinSCP or via SCP on a Linux-based OS:
scp server.crt root@<device-ip>:/etc/cert.pem
scp server.key root@<device-ip>:/etc/key.pem
After importing, ensure the correct file permissions are applied:
chmod 600 /etc/cert.pem
chmod 600 /etc/key.pem
To apply the new certificate, restart the web server service:
/etc/init.d/uhttpd restart
If you need further assistance or have any additional questions, feel free to reach out.
Best regards,