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

    BUG? - Unable to generate CSR

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    8 Posts 3 Posters 3.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.
    • B
      bcjenkins
      last edited by

      2.1-BETA1 (amd64)
      built on Thu Feb 14 04:54:28 EST 2013
      FreeBSD 8.3-RELEASE-p5

      All fields filled out with the key length at 2048 and no option for digest algorithm.

      The following input errors were detected:

      Please select a valid Key Length.
      Please select a valid Digest Algorithm.

      Thoughts?

      Thanks

      B

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

        I probably skipped something when adding the digest algorithm bits the other day. Can you open up a ticket on http://redmine.pfsense.org and reference this forum thread.

        Thanks.

        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!

        1 Reply Last reply Reply Quote 0
        • B
          bmah
          last edited by

          I'm seeing this too.  For anyone else who's stumbled over this, it's Bug 2820 in redmine:

          http://redmine.pfsense.org/issues/2820

          Bruce.

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

            I never was able to reproduce the input error, but I just pushed a commit to add the digest algorithm field to the CSR page.

            If that still doesn't work I may need a better idea of the exact inputs used to reproduce the error.

            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!

            1 Reply Last reply Reply Quote 0
            • B
              bmah
              last edited by

              I just updated the bug with results from testing today's snapshot…the code change got rid of the Digest Algorithm error, but the error about the key length remains.

              On a related note, if we're trying to get people to not use SHA1, wouldn't it make sense to pick a stronger message digest algorithm by default?

              Thanks,

              Bruce.

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

                Are there values in the Key Length drop-down? What browser are you using?

                So far I wasn't able to reproduce the failure here, even before my last change. I was always able to make a CSR.

                As for the default, I thought about pre-selecting SHA256, I just didn't get around to actually doing it yet.

                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!

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

                  ok, found it and fixed it. For some reason I could only reproduce it on my alix, not a full install.

                  https://github.com/pfsense/pfsense/commit/741d748d72c81f84fdeebe327c6d7ab61f843a84

                  I also made the digest alg. default to sha256 while I was in there.

                  https://github.com/pfsense/pfsense/commit/28a20fdbf4621c0f5b854615dcc31f5234812f00

                  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!

                  1 Reply Last reply Reply Quote 0
                  • B
                    bmah
                    last edited by

                    Works now on tonight's snapshot…thanks!

                    Bruce.

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