What's new

Changing admin password reset httpd cert to default?

  • 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!

scyto

Regular Contributor
I had installed a custom https cert for my router as documented elsewhere. This was working fine.

Today i changed my password on my router, after the refresh the cert that was being used was changed to the older default self-signed cert.

I checked /etc and the server, key and cert files changed their contents and date to 7/31/2015!

Is there someway to prevent this from happening?
 
bah, i think i self answered this 5 mins after posting - seems the solution is deleting the /etc/server.pem - with this removed everything was ok on another password change.
 
That cert file will be back after a reboot. Remember that next time you change your pwd.
 
That cert file will be back after a reboot. Remember that next time you change your pwd.
Just so i am clear i get it - you are saying that while a reboot won't cause the issue it will cause the server.pem file to reappear that will cause the same issue next time i change the pwd?
 
Just so i am clear i get it - you are saying that while a reboot won't cause the issue it will cause the server.pem file to reappear that will cause the same issue next time i change the pwd?
That is correct. Most of the filesystem gets completely regenerated when booting, including the server.pem when using https to login into the router.
 

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