Navigation

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

    Supporting Let's Encypt certificate generation and automated renewal

    General pfSense Questions
    5
    6
    3969
    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.
    • Y
      yonas last edited by

      Let's Encrypt works on FreeBSD:

      http://www.freshports.org/security/py-letsencrypt
      http://www.freshports.org/security/letsencrypt.sh
      https://github.com/Neilpang/acme.sh - This is the script I've used.

      I'm using HAProxy and Let's Encrypt certificates on pfSense 2.3 for SSL termination to my public websites.

      It would be great if Let's Encrypt certificates could be generated within the pfSense UI.

      Let's Encrypt's certificates expire within 90 days, so it would be great if we had a pfSense package that could run a renewal script to automatically renew the certificates. According to https://certbot.eff.org/#freebsd-haproxy it's recommended to run letsencrypt renew –quiet from within cron twice every day.

      An old related discussion can be found here: https://forum.pfsense.org/index.php?topic=101186.0

      1 Reply Last reply Reply Quote 0
      • M
        mikerj last edited by

        A bit +1 for this

        1 Reply Last reply Reply Quote 0
        • marcelloc
          marcelloc last edited by

          Did you tried acme package?

          https://forum.pfsense.org/index.php?topic=129376.0

          1 Reply Last reply Reply Quote 0
          • P
            psalm57 last edited by

            Im sorry for bringing this back from the dead, but, can acme be used without:

            a TLD or
            b A dyn where you can manipulate TXT records or
            c Some 80 or 433 port access (as u probably know, vivo has none)

            I have none of that, just a plain dyn dns.

            1 Reply Last reply Reply Quote 0
            • Derelict
              Derelict LAYER 8 Netgate last edited by

              Probably not if it's the free version. Need the ability to add and remove TXT records. Details are in the package. The number of supported DNS providers grows about monthly.

              ![Screen Shot 2018-01-15 at 5.53.07 PM.png](/public/imported_attachments/1/Screen Shot 2018-01-15 at 5.53.07 PM.png)
              ![Screen Shot 2018-01-15 at 5.53.07 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2018-01-15 at 5.53.07 PM.png_thumb)

              1 Reply Last reply Reply Quote 0
              • P
                psalm57 last edited by

                I got it! Well, almost!

                From desec.io. But while fixing the shell script I wasted my 5 free attempts for this hour. You can add the proper TXT record with desec.

                I also had to install certbot, and its annoyingly long dependancies.

                After the temp ban is lifted (i think one hour) I let you know if I can really validate the service and install the cert.

                –---------------------

                Worked!

                IMPORTANT NOTES:
                 - Congratulations! Your certificate and chain have been saved at:
                   /usr/local/etc/letsencrypt/live/xxxxxxx.dedyn.io/fullchain.pem
                   Your key file has been saved at:
                   /usr/local/etc/letsencrypt/live/xxxxxxx.dedyn.io/privkey.pem
                   Your cert will expire on 2018-04-16\. To obtain a new or tweaked
                   version of this certificate in the future, simply run certbot
                   again. To non-interactively renew *all* of your certificates, run
                   "certbot renew"
                
                
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Products

                • Platform Overview
                • TNSR
                • pfSense Plus
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy