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

    PfSense CA signing external CSR

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 10 Posters 8.7k 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.
    • F
      filament
      last edited by

      just curious but did you try openssl command from the command line?

      1 Reply Last reply Reply Quote 0
      • A
        andeck
        last edited by

        Hi,

        command line is a good option, but where is the certificate and key? example?

        https://redmine.pfsense.org/issues/4606

        Tks.

        1 Reply Last reply Reply Quote 0
        • C
          CubedRoot
          last edited by

          Bumping this as well.  I would like to be able to sign a CSR using my pfSense machine as the CA.  Can't do it from the webconsole and I cant find the ca.key and ca.crt files on the machine to sign using openssl via a command prompt.

          1 Reply Last reply Reply Quote 0
          • D
            desrux
            last edited by

            I would also like to sign a CSR request with my CA on the pfsense box using the webinterface. Normally i have CSRs in PEM/Base64 encoding (text based).

            1 Reply Last reply Reply Quote 0
            • D
              devone
              last edited by

              waking up this topic… I am having this same problem. Specifically, a web-based interface for a security camera. It does not allow me to upload my own private key, but it will create a CSR for me to sign. It looks like pfsense keeps the CA certificate and key in a configuration file (/cf/conf/config.xml) and not in files, making the command line option difficult.

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                @devone:

                Specifically, a web-based interface for a security camera. It does not allow me to upload my own private key, but it will create a CSR for me to sign.

                Just in case you were talking about Axis, you can upload anything you want via FTP.

                1 Reply Last reply Reply Quote 0
                • D
                  dwdenise
                  last edited by

                  Old thread, but for anyone still looking for how to use pfSense to sign external requests, the article at

                  http://www.schie.com/certificates-and-pfsense-how-to-sign-cert-requests/

                  shows how using the openssl command from pfSense's command line.

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

                    Signing a CSR can be performed in the GUI on 2.4: https://redmine.pfsense.org/issues/7383

                    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
                    • T
                      thouwlin
                      last edited by

                      How soon till it is GA? 2.4 is still (Highly Experimental)

                      1 Reply Last reply Reply Quote 0
                      • T
                        thouwlin
                        last edited by

                        I just tested the latest 2.4.0 build and it does not seem to work with a CSR that has been generated on a separate system  also there is no option to choose server or user signing.  To solve my issue I:

                        1. Created the server certificate on PFSense (make sure it is set to server cert, the default is user cert)
                        2. Exported the new cert
                        3. Exported the new Key
                        4. Moved them to my JBOSS server
                        5. Converted they two to a PKCS12 (openssl)
                        6. Converted the P12 file to my keystore (Keytool)

                        Example:
                          mv /home/ncadmin/par.local.enms.net\ (1).crt ./par.crt
                          mv /home/ncadmin/par.local.enms.net\ (1).key ./par.key
                          openssl pkcs12 -export -in par.crt -inkey par.key -out par.p12 -name par_na_crt -CAfile RootCA-Pfsense.crt -caname root
                          keytool -importkeystore -deststorepass chgme -destkeypass chgme -destkeystore truecontrol.keystore -srckeystore par.p12 -srcstoretype PKCS12 -srcstorepass chgme -alias my_alias

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