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

renew certs from CLI

Scheduled Pinned Locked Moved ACME
4 Posts 2 Posters 690 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.
  • S
    sgw
    last edited by Feb 4, 2022, 8:41 AM

    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 G 2 Replies Last reply Feb 4, 2022, 8:55 AM Reply Quote 0
    • S
      sgw @sgw
      last edited by Feb 4, 2022, 8:55 AM

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

      1 Reply Last reply Reply Quote 0
      • G
        Gertjan @sgw
        last edited by Feb 4, 2022, 8:59 AM

        @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 Feb 15, 2022, 7:20 AM Reply Quote 0
        • S
          sgw @Gertjan
          last edited by Feb 15, 2022, 7:20 AM

          @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.
            This community forum collects and processes your personal information.
            consent.not_received