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

Bulk import of SSL certificates

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
3 Posts 2 Posters 1.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.
  • S
    saruman
    last edited by Nov 27, 2010, 7:40 PM

    Hi,

    is there any way to import a bunch of SSL certificates with private keys or do I have to download a config backup, hack insert the base64 encoded private keys and certificates using the XML structure

     <cert><refid>uniqid()</refid>
      <descr><crt>$BASE64_ENCODED_CERTIFICATE</crt>
      <prv>$BASE64_ENCODED_PRIVATE_KEY</prv>
      <caref>$REFID_OF_CA</caref></descr></cert> 
    

    and upload the modified config.xml? Maybe someone already did something like this or knows a better way doing this?

    Thanks, Michael

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Nov 29, 2010, 4:00 PM

      There isn't a bulk import, there's really no easy way to code that either. Even if it were a big page with multiple boxes, it would still involve a lot of manual copy/paste work.

      Editing them into the config would be the easiest way to do them in bulk.

      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
      • S
        saruman
        last edited by Nov 29, 2010, 4:29 PM

        Not the answer I hoped for, but thanks anyway. I'll do my very best hacking the config… :D

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received