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

    renew certs from CLI

    ACME
    2
    4
    675
    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.
    • S
      sgw
      last edited by

      I have a pfsense with outdated certs, it was configured a few months ago but only deployed yesterday.

      So the certs I moved over from the old hardware aren't valid anymore and I can't access the WebGUI.

      Is there a way to trigger the cert renewal from ssh? I looked into the php-code, that might be a way. I see no certbot binary and no cronjob I can copy the command from.

      any hint would be appreciated.

      S GertjanG 2 Replies Last reply Reply Quote 0
      • S
        sgw @sgw
        last edited by

        "/usr/local/pkg/acme/acme_command.sh renewall" did the trick. bingo

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

          @sgw said in renew certs from CLI:

          and I can't access the WebGUI.

          Of course you can.
          Instead of the URL, type the IP LAN of the GUI.
          The browser will warn you, but insist, and override by clicking on the right buttons.
          You'll enter the GUI, and you renew with the click of a button.

          @sgw said in renew certs from CLI:

          I see no certbot binary .....

          Certbot ?
          The package is called :

          5f0e85f2-8a1d-4988-9a2b-df25e6b34cec-image.png

          where acme comes from here.

          Btw : there are many Letsencrypt user end clients. Certbot is just one of them.

          @sgw said in renew certs from CLI:

          I see .... and no cronjob

          Here :

          /etc/crontab

          Install the pfSense Cron package ;)

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

          S 1 Reply Last reply Reply Quote 0
          • S
            sgw @Gertjan
            last edited by

            @gertjan thanks for the info. Needed that on another system right now.

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