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

    ACME cert alternative names?

    Scheduled Pinned Locked Moved ACME
    10 Posts 4 Posters 2.2k 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.
    • lifeboyL
      lifeboy
      last edited by

      I can't figure out how to add alternative names to a certificate.

      I have added the name as a manual DNS in the domain SAN list, but it only generates the certificate for the primary name.

      26021cef-8ad6-4ec4-b1d7-f6a14c02b996-image.png

      We have 2 servers configured with CARP to failover. One is fw-1A, the other fw-1B and the carp address is fw. If I add individual certificates for those 2, then the CARP address fails, etc.

      How does one do that?

      1 Reply Last reply Reply Quote 0
      • lifeboyL
        lifeboy
        last edited by

        I have now used "webroot" for the alternative name and that does the trick.

        1 Reply Last reply Reply Quote 0
        • lifeboyL
          lifeboy
          last edited by

          However, there's still a problem with the failover server.

          The HA Sync transfered the CA for Letsencrypt to the fw-1B machine. If I try to issue a certificate for fw-1B though, the resultant certificate is issued for the wrong CA:

          Common Name (CN) fw-1B-5fb672ab7a39f
          Organisation (O) pfSense webConfigurator Self-Signed Certificate
          Organisational Unit (OU) <Not Part Of Certificate>
          Common Name (CN) fw-1B-5fb672ab7a39f
          Organisation (O) pfSense webConfigurator Self-Signed Certificate
          Organisational Unit (OU) <Not Part Of Certificate>

          There doesn't seem to be a way to set which CA to use for the new LE certificate?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I use acme in a limited sense - but you should be able to just use a wildcard cert vs doing stuff with sans... I was using wildcard when I had a few different hosts behind haproxy..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 1
            • lifeboyL
              lifeboy
              last edited by

              I really don't want to use wildcards, since the domain has other subdomains as well.

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

                @lifeboy said in ACME cert alternative names?:

                since the domain has other subdomains as well.

                Do not communicate 'your' certificate to the other (web) sub domain servers and you'll be fine.

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

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

                  Each entry in that list is a SAN

                  It's even labeled Domain SAN list

                  It's possible that acme.sh itself doesn't support multiple names with the DNS-Manual method, and input validation doesn't prevent it.

                  I use multiple SAN entries with RFC 2136 style DNS updates and it works perfectly there.

                  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!

                  lifeboyL 1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    Yeah you could for sure use a wildcard in one instance, and just use specific certs in other instances

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • lifeboyL
                      lifeboy @jimp
                      last edited by

                      @jimp Indeed, the SAN addition works now. However, I'm still hoping to figure out why my second server doesn't create correct certificates. I have now removed the certificates and CA, but I ran into the LE rate limiting, so I'll try again later.

                      1 Reply Last reply Reply Quote 0
                      • lifeboyL
                        lifeboy @Gertjan
                        last edited by lifeboy

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