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

    ACME Wildcard - Export Key Pair - Programmaticly?

    Scheduled Pinned Locked Moved ACME
    2 Posts 2 Posters 648 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.
    • CheahaC
      Cheaha
      last edited by

      Is there a way to programatically export the generated key pair? What I am trying to accomplish is to use pfSense to register and maintain a wildcard cert for a domain. It should work fine, but I want to use the generated (and renewed) cert on another server. So I need a way to setup a task that exports the key pair from pfSense so that I can load it on another server (all programatically, no web gui). For example if I wanted to import the key pair into an iDRAC controller I could use racadm command line utility to cause the iDRAC to import the key pair, but I need to be able to pull it from pfSense first.

      Is there a way this can be done via a SSH terminal session or something? Thx.

      Thanks in advance.

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

        In the ACME general settings, check Write Certificates, and then have your script check in /conf/acme/ and copy them wherever you want. The script doesn't need to hook on an update, it could check the file modification time or use some other method. Calling it from cron once a day some time after the ACME update would be sufficient.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.