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

import pfsense ca cerrtificates in linux system(ubuntu/centos) for squid https configuration in pfsense

Scheduled Pinned Locked Moved Cache/Proxy
7 Posts 2 Posters 1.6k Views 2 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.
  • P Offline
    patelsaheb
    last edited by May 31, 2019, 8:57 AM

    Hello

    want to import certificates in linux system of pfsense ca certificate for squid https men in middle attack configuration.

    1 Reply Last reply Reply Quote 0
    • K Offline
      kiokoman LAYER 8
      last edited by May 31, 2019, 9:20 AM

      i don't understand exactly what do you want to do but you can export / import /create from System -> Certificate Manager
      if it's this what you want there is an howto here https://turbofuture.com/internet/Intercepting-HTTPS-Traffic-Using-the-Squid-Proxy-in-pfSense

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      P 1 Reply Last reply May 31, 2019, 9:26 AM Reply Quote 0
      • P Offline
        patelsaheb @kiokoman
        last edited by May 31, 2019, 9:26 AM

        @kiokoman

        have configured self signed certificates in pfsense.
        so now i want to import that certificates in system like ubuntu and centos.

        so how can i do this..

        in windows i have done. but have face issue in linux based system.

        becoz i have few system that use linux in local network and my gateway is pfsense.

        P 1 Reply Last reply May 31, 2019, 9:29 AM Reply Quote 0
        • P Offline
          patelsaheb @patelsaheb
          last edited by May 31, 2019, 9:29 AM

          @kiokoman

          i want to block few https sites only rest all will be access.

          1 Reply Last reply Reply Quote 0
          • K Offline
            kiokoman LAYER 8
            last edited by kiokoman May 31, 2019, 10:08 AM May 31, 2019, 10:07 AM

            this have nothing to do with pfsense,you should have better help from ubuntu/centos/linux forum, in any case

            export the certificate from pfsense and copy it on your linux machine

            For Ubuntu:
            Create a directory for extra CA certificates in /usr/share/ca-certificates:

            sudo mkdir /usr/share/ca-certificates/extra
            

            Copy the CA .crt file to this directory:

            sudo cp foo.crt /usr/share/ca-certificates/extra/foo.crt
            

            add the .crt file's path relative to /usr/share/ca-certificates to /etc/ca-certificates.conf

            sudo dpkg-reconfigure ca-certificates
            

            To do this non-interactively, run:

            sudo update-ca-certificates
            

            For CentOs

            Install the ca-certificates package: yum install ca-certificates
            

            Enable the dynamic CA configuration feature:
            update-ca-trust force-enable
            copy the exported crt file
            cp foo.crt /etc/pki/ca-trust/source/anchors/
            update-ca-trust extract

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            P 1 Reply Last reply May 31, 2019, 10:11 AM Reply Quote 0
            • P Offline
              patelsaheb @kiokoman
              last edited by May 31, 2019, 10:11 AM

              @kiokoman

              Great it is working fine..

              Have one issue that want to block youtube facebook etc few sites i want to block .not all https.

              so how we can configure that all https will be accessible and few will be block..

              please suggest..

              thank you...

              1 Reply Last reply Reply Quote 0
              • K Offline
                kiokoman LAYER 8
                last edited by May 31, 2019, 10:20 AM

                read this
                https://forum.netgate.com/topic/74934/how-to-block-youtube-in-pfsense/20

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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