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

Exporting LetsEncrypt Certificates in Automated mode.

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 859 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
    smr
    last edited by Nov 13, 2019, 2:22 PM

    Hey everyone,
    Can anyone help me to solve a "big problem" for me, but for others i think ... its a "small" problem:) ?
    My set up looks like this:
    Internet ---> Router (PFSense) ---> VM ISPonfig 3
    The Let's Encrypt certificates is generated, registered & renewed by the PFSense (using its own ACME service).
    DDNS was done via Cloudflare DDNS by the PFSense as well, with the domains name pointing to the router's WAN IP.
    I'm using HAProxy service as a reverse proxy. All works fine included SSL Certicates for my web domains.
    All i want to know is there any solution to check, and if certificates has been renewed on PFSense then -> copy my renewed SSL certificates to ISPConfig VM machine, web domains via SSH or any other method?
    At this moment i do it manually ... :(

    I'm not so good to script this, thats why i need your help. Can anybody help me pls ?
    Best Regards.
    Thank you.

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 16, 2019, 2:34 PM

      Why do you need to do that if you're off-loading SSL in HAProxy?

      To do that though you would need to pull in the cert and then restart whatever service is using it in the VM. So a script running on the VM seems like the first option. Though allowing the VM direct access to the firewall is a security issue. You might be able to pull it via the gui using a user with limited access similar to the pull automated backup described here:
      https://docs.netgate.com/pfsense/en/latest/backup/remote-config-backup.html#pull-it

      Steve

      S 1 Reply Last reply Nov 20, 2019, 7:08 AM Reply Quote 0
      • S
        smr @stephenw10
        last edited by Nov 20, 2019, 7:08 AM

        @stephenw10 Thank you very much for guiding me. Steve
        Best Regards.
        SMR

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