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

    Squid package can utilize hardware based cryptographic acceleration

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 3 Posters 196 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.
    • JonathanLeeJ
      JonathanLee
      last edited by

      Hello fellow Netgate community members,

      I wanted to let you know after some research that you can access the cryptographic acceleration for certificate generation with use of ssl intercept mode. This vastly improves performance.

      I am using this directive within an older Squid package.

      ssl_engine devcrypto
      

      6235bdf3-9459-451d-bec0-740be0d0b1c8-image.png

      Testing of this with ssl bump active and system certificates installed shows vast improvements.

      Also you can check useage with

      vmstat -i | grep safexcel
      

      366c3f53-5252-4c76-9e8f-a865e29be118-image.png

      It will increment when loading webpages with the proxy active in ssl intercept mode.

      This is amazing!!!! Keep in mind not all Squid versions have support for the ssl_engine directive.

      A quote from Squid Support...

      ".... BUT "ssl_engine" is ...
      
      >
      >        Not supported in builds with OpenSSL 3.0 or newer.
      >
      
      
      If your Squid is built for libssl 3.0 or later, you may be able to
      configure /etc/ssl/openssl.cnf default provider to be the one you want.
      Such that Squid does not have to do anything for it to work.
      
      
      I expect all the details relating to how devcrypto does its thing to be
      configured in /etc/ssl/openssl.cnf.
      
      You may find this discussion from the OpenSSL community helpful:
        <https://github.com/openssl/openssl/issues/10701>
      
      (FTR; the
      
      HTH
      Amos"
      

      Ref:
      https://www.squid-cache.org/Doc/config/ssl_engine/

      Make sure to upvote

      M N 2 Replies Last reply Reply Quote 1
      • M
        michmoor LAYER 8 Rebel Alliance @JonathanLee
        last edited by

        @JonathanLee
        dude...you are now the official maintainer of the Squid package!
        All jokes aside, have you considered reaching out to Netgate to see what can be done by you to be the maintainer? You clearly have the knowledge about the application and importantly you have the desire to see it improve for everyone. I say go for it.....

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        1 Reply Last reply Reply Quote 1
        • N
          ngr2001 @JonathanLee
          last edited by

          @JonathanLee

          Does that include QAT Support ?

          JonathanLeeJ 1 Reply Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee @ngr2001
            last edited by

            @ngr2001 I don’t know try the directive to see it if works, I do not have that crypto chip

            Make sure to upvote

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