• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Certificate ssl/tls webadmin

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 2 Posters 463 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    JonathanSOliveira
    last edited by Mar 1, 2024, 1:43 PM

    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.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Mar 1, 2024, 6:34 PM

      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.

      J 1 Reply Last reply Mar 1, 2024, 7:04 PM Reply Quote 0
      • J
        JonathanSOliveira @stephenw10
        last edited by Mar 1, 2024, 7:04 PM

        @stephenw10 I even tried to reverse this, but I wasn't very successful, as this "change" I made doesn't appear, but only others.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Mar 1, 2024, 7:08 PM

          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.

          J 1 Reply Last reply Mar 1, 2024, 7:10 PM Reply Quote 0
          • J
            JonathanSOliveira @stephenw10
            last edited by Mar 1, 2024, 7:10 PM

            @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?

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 1, 2024, 9:25 PM

              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.

              1 Reply Last reply Reply Quote 0
              3 out of 6
              • First post
                3/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received