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

    Acme - action list web server restart

    Scheduled Pinned Locked Moved ACME
    3 Posts 2 Posters 1.3k 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.
    • GertjanG
      Gertjan
      last edited by

      @jimp :

      See image.
      When using

      Restart the GUI on this firewall: Select "Shell Command" and enter /etc/rc.restart_webgui

      as an action, then also all captive portal instances are restarted (see  /etc/rc.restart_webgui) , making this one :

      Restart a local captive portal instance: Select "Restart Local Service" and enter captiveportal zonename replacing zonename with the zone to restart.

      not needed.
      When used, the listed captive portal instances restart twice.

      Btw : not the fault of "acme" package, but take note : when a certificate gets renewed and the GUI gets restarted, all captive portal visitors will be thrown of the portals.
      Discovered here https://forum.pfsense.org/index.php?topic=144606.0
      actions.PNG
      actions.PNG_thumb

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        A certificate may be used on a captive portal zone that is different from the GUI certificate. Someone might want to restart a portal zone but not the GUI.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          ;D
          That "someone" was me : a certificate for the portal.(mydomane.tld) and another certificate for pfsense.(mydomane.tld) hosted on another NIC.
          True, I could have combined these two into one certificate.

          These days I simplified maintenance, and I use a (one) wildcard cert.

          Btw : not related to acme :
          Restarting the GUI is completely harmless - I'm the only "user" anyway.
          Restarting the portal does have an impact as explained above.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.