How to recover/regenerate the device's default certificate using the CLI?

Zyxel_Cooldia
Zyxel_Cooldia Posts: 1,511  Zyxel Employee
Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate 100 Answers 1000 Comments

Question

After checking, it appears that the firewall's default certificate is corrupted, and I am unable to log in to the device's web GUI. How can I recover/regenerate the device's default certificate using the CLI?

Answer

We can connect to device using SSH, and type CLI Router> debug _ca regenerate to generate new certificate.