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

    How to Install Certificates from PFsense to other servers?

    Scheduled Pinned Locked Moved ACME
    25 Posts 7 Posters 12.5k Views 8 Watching
    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.
    • GertjanG Offline
      Gertjan @Bronko
      last edited by

      @Bronko

      You 'chmod x' the script file as executable ?

      (noop, you won't escape from the console or better, SSH 😊 )

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

      1 Reply Last reply Reply Quote 0
      • B Offline
        Bronko @Gertjan
        last edited by

        @Gertjan said in How to Install Certificates from PFsense to other servers?:

        Be aware : we don't know nothing about the shell session used to fire up the actions.

        given by that, used the GUI for file creation and chmod 755 (check picture)

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bronko @Bronko
          last edited by

          @Bronko said in How to Install Certificates from PFsense to other servers?:

          But I have an issue regarding to copy certificates to more then one server in Action list:

          I have found the missing step:

          If you don't use the standard 'admin' group member of 'admins' like me to login into pfsense, you have to extend
          /root/.ssh/known_hosts by your target hosts from /home/USER/.ssh/known_hosts given by the fact, Actions list jobs running in root context... My fault.

          Thanks for all your response.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mwebb @Bronko
            last edited by

            @Bronko Suggest to test if .ssh subfolders are persistent after reboot of each machine. FreeBSD typically purges them at reboot. Might need to run a script at boot time to recover them or run script each time you copy the scripts with following options to recreate / ignore the known hosts automatically: scp -o UserKnownHostsFile=/dev/null -o StrictHostKeychecking=no -i /root/.ssh/id_rsa <user>@<cert store host>:/<script>

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Bronko @mwebb
              last edited by

              @mwebb said in How to Install Certificates from PFsense to other servers?:

              Suggest to test if .ssh subfolders are persistent after reboot

              at pfsense they are persistent

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