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

    Max SANs ?

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 3 Posters 584 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.
    • T
      the.loquitur @stephenw10
      last edited by

      @stephenw10

      I'm running 2.7.2-RELEASE (amd64).

      And yes, I'm using the cert manager.

      I played around with this some more. The largest number of SANs that I can get it to take so far is 6.

      Once I go over 6, it goes into a confused state and won't allow me to create the cert until I go down to 3 SANs.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Hmm, interesting. Is that with any type of SAN? Only combinations?

        Let me try to replicate....

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          I can't replicate that, I can create a cert with any number of SANs. I stopped at 18:

          Multi-SAN-cert.jpg

          Do you have the recommended patches applied from the System Patches package? I'm not aware of anything that would apply to this though.

          Is your example list above something you are actually hitting this with?

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

            @the-loquitur said in Max SANs ?:

            values must be valid hostnames

            mdf-lan-fir-p-1

            wouldn't be a valid fqdn

            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
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              But it's a valid hostname.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                I was able to save this no problem:

                Multi-SAN-cert-2.jpg

                T 1 Reply Last reply Reply Quote 0
                • T
                  the.loquitur @stephenw10
                  last edited by the.loquitur

                  @stephenw10

                  Hi. I believe that I've found the use-case where it fails.

                  When I create a test CA where I don't bother to fill out the:

                  Country Code
                  State
                  City
                  Organization
                  Organization Unit

                  and only fill in the Descriptive Name and Common Name. Then it pukes.

                  I ended up creating 2 CAs: one with the RDNs and the other without. When I try to create a cert using the no-RDN CA, it fails. When I try to create a cert using the CA with RDNs, it works.

                  Initially, I was working with FreeRadius for the first time and created a CA for just to use for proof of concept, filling out the very least fields. Then I ran into this.

                  For me, this is deterministic.

                  BTW, the GUI form for creating a CA actually says that the RDN fields are optional.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Are you entering those values on the server cert if they are not auto filled by the CA?

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      the.loquitur @stephenw10
                      last edited by

                      @stephenw10

                      O. I don’t fill them out when creating the CA and then correspondingly, I don’t fill them out when creating a cert using the CA.

                      At this point, I’m all done with reporting this.

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm, still unable to replicate it here without any optional fields on the CA or cert:

                        Multi-SAN-cert-3.jpg

                        Do you have all the recommended patches applied?

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