I have an AXT-1800 travel router with an embedded ngninx.cer in Adguard, which has expired. How do I update this certificate without flashing from scratch again?
May I know if the firmware is latest version of the AXT1800? If not please upgrade it.
I am using 4.6.6 the latest beta version for the GL-AXT1800
You can easily create a new self-signed one:
(Basically you only need the 1. step)
Thank you, admon. That‘s exactly what I was looking for.
What‘s important is also to change the name of the certificate in the AdGuard GUI and rename in the old config to nginx-selfsigned.crt
From step 1 you only need this command:
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt
Restarting the nginx with this command doesn‘t work: sudo systemctl restart nginx
Error message: Command not found
Any advice?
/etc/init.d/nginx restart