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

    Backups of SSL keys/certificates

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 775 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.
    • P
      pfdog
      last edited by pfdog

      Examining the backup file config-pfsense..xml I see various hashes, none of which appear to my feeble eyes to be SSL keys/certs. Are these re-hashed for the backup, or is /cf/conf/acme/ not part of the backup?

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

        My cert info :

        9a99998d-ecde-48c8-b9b8-f6fb483598e6-image.png

        You saw the name of the cert ?

        Here it is, in the config.xml :

        37f25709-2bcf-41cb-8b65-5ff2e5a5c4d2-image.png

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

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

          They are in the backup, just stuffed in a base64 encoded string as a part of their ca/cert entries.

          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!

          P 1 Reply Last reply Reply Quote 0
          • P
            pfdog @jimp
            last edited by

            @jimp
            OK, that is good to know. Out of curiosity, is the cert converted to base64 ? Looks like the cert in .xml uses 700+ more bytes than its representation from the certificate manager.

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

              The certs are stored in PEM format with the whole thing encoded as base64. It will naturally gain some size in base64 in the process due to how base64 works.

              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!

              P 1 Reply Last reply Reply Quote 1
              • P
                pfdog @Gertjan
                last edited by

                @Gertjan
                Yes, I viewed similarly here. I exported the cert from the cert manager and compared it to the one in the xml file.

                1 Reply Last reply Reply Quote 0
                • P
                  pfdog @jimp
                  last edited by

                  @jimp
                  OK, great!

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