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

    Cert update dates

    Scheduled Pinned Locked Moved ACME
    37 Posts 6 Posters 4.3k 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.
    • chudakC
      chudak @jimp
      last edited by

      @jimp Ok cool, sounds like all is in order.

      I will wait for emails to be sent then.

      Thx!

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

        @chudak said in Cert update dates:

        renew in 60 days ?

        Check your own settings of your cert : bottom of the page :

        9464744c-c8a3-4c91-a929-5a61ab2d068c-image.png

        You see the last renewal date.
        And the time - default 60 days - when it gets renewed.

        See my edit above how to implement a small shell script that sends a mail as an Action script.

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

        chudakC 1 Reply Last reply Reply Quote 1
        • chudakC
          chudak @Gertjan
          last edited by

          @Gertjan

          Makes sense, changed to 90 days, and added the script to Certificate options Actions list (not sure if it will send email, but will be seeing in the logs for sure)

          Thx!

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

            Why would you want to wait until the certificate has already expired before you renew it?

            Leave it at 60 and ignore it unless it fails to renew. The default settings are best.

            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!

            chudakC 1 Reply Last reply Reply Quote 0
            • chudakC
              chudak @jimp
              last edited by

              @jimp

              I’m trying to find best way to be remained to do some manual actions for one certificate that is being managed by acme.

              For pfsense 60 days overlapping/advanced updates will work fine.

              But I need to get some emails in order to copy new certificate to my other server. (need to see how further automate this process)

              Thx all for suggestions and useful tips

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

                Waiting for it to expire to get an e-mail from Let's Encrypt seems like an incredibly bad idea.

                Next time, lead with what you are trying to accomplish. There are likely much better ways to achieve your ultimate goal without relying on hacks.

                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!

                chudakC 1 Reply Last reply Reply Quote 0
                • chudakC
                  chudak @jimp
                  last edited by

                  @jimp said in Cert update dates:

                  Waiting for it to expire to get an e-mail from Let's Encrypt seems like an incredibly bad idea.

                  Next time, lead with what you are trying to accomplish. There are likely much better ways to achieve your ultimate goal without relying on hacks.

                  Waiting for expansion sounds like extreme, there would be several emails.

                  “We send the first notice at 20 days before your certificate expires, and more notices at 10 days and 1 day before it expires.”

                  That’s what I’m looking for - what’s the better way?

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

                    Pretty sure you can make something like Nagios alert you if a certificate changes. Been a while since I looked. Certainly a log host can watch for certain events and do it, as has been mentioned.

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                      @chudak said in Cert update dates:

                      not sure if it will send email

                      ??
                      You test a script when you create it. If it works - then you 'activate' it by using it as an 'action'.
                      Never ever use a script automatically, that is, for example, by a cron script.
                      Test first. Check all the 'input' variables, that they are available at any time.

                      "90 days" is no good. If anything goes wrong, you'll find out when it it to late.
                      "Let's Enscrypts" advises themselves to renew after 60 days, which mans that you have 30 days to have a a look at it when something goes wrong.

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

                      chudakC 1 Reply Last reply Reply Quote 0
                      • chudakC
                        chudak @Gertjan
                        last edited by

                        @Gertjan said in Cert update dates:

                        'activate' it by using it as an 'action'

                        where? Services/Acme/Certificate options: Edit/-> Action List ?

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

                          Yep, see my image above.
                          Hit the green Add button, and add it.

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

                          chudakC 1 Reply Last reply Reply Quote 0
                          • chudakC
                            chudak @Gertjan
                            last edited by

                            @Gertjan said in Cert update dates:

                            Yep, see my image above.
                            Hit the green Add button, and add it.

                            I did that, so I guess I will get an email on next renewal.

                            Thx

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

                              Hit the Renew button yourself right now. You'll see.
                              You are allowed to renew yourself, like 5 times a week.

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

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