What's new

Custom cert "forgotten" on reboot

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Sinuouser

New Around Here
Hi!

I'm running Asuswrt-Merlin 3004.388.8_2 on an RT-AX86U Pro.

I have a server that uses letsencrypt, and in the post-hook, I upload these new certs to the router - this works fine.
However, when the router reboots, it defaults to some standard cert.

If I then just putty to it and do a "service restart_httpd" on the router, it uses the correct certs again.
I've looked around and found some (old) information about needing to manually generate a cert.tgz, and have tried this, but to no avail.
I'm guessing the issue has something to do with this - it's not reading the /jffs/.cert certs on boot, but instead gets it from somewhere else, but can't find any current info on it.

Would be very grateful if someone could point me to some newer information about how to handle this, or have some insights.
 
Last edited:
Temporarily remedied it by putting in a services-start script with sleep 30 and then service restart_httpd.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top