Certificate ssl/tls webadmin
-
How do I change the webadmin certificate via SSH? I ended up creating a new one for testing, but I can't connect to the web page again, because of this certificate. the old one is configured in the firewall, so it would just be a matter of changing it.
-
The easiest way would be to roll back the config change where you set the new cert to be used. That can done from console menu option 15.
-
@stephenw10 I even tried to reverse this, but I wasn't very successful, as this "change" I made doesn't appear, but only others.
-
Hmm, well you can always go back to an earlier version.
Another thing you can do is create a new webcert from the php shell with
playback generateguicert
. -
@stephenw10 Right, by doing it this way, the certificate will be as if it were the pfsense standard? the one that is created as soon as we start it?
-
It will create a new cert if you run that command. It will be the same type of cert as the initial one but not actually the same so you would need to agree to allow it again as you do when you first connect.