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

    OpneSSL legacy provider module download

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 661 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.
    • N
      nomadmd
      last edited by

      Hello,

      I used to generate pkcs12 to use with cisco router as command after updating acme certs "openssl pkcs12 -export -in /cf/conf/acme/cisco.crt -inkey /cf/conf/acme/cisco.key -certfile /cf/conf/acme/cisco.ca -out /tftpboot/cisco.p12 -passout pass:12345" then ingesting with command on cisco "crypto ca import nomadmd-cert pkcs12 tftp://pfsenseip/cisco.p12 password 12345" Everything worked well until openssl update. Some googling brought the solution to use "-legacy" option. However, that option requires providers modules available which do not seem having been included in the current pfsense build. Are there prebuit binaries for freebsd I could add to pfsense to be able to generate pkcs12 that cisco router could understand?
      Thank you

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @nomadmd
        last edited by

        @nomadmd you can just use an older version of openssl on any other box, windows linux other bsd, etc that has legacy as an option. Prob do it in a docker..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        N 1 Reply Last reply Reply Quote 0
        • N
          nomadmd @johnpoz
          last edited by

          @johnpoz So your answer that this is not possible to do on pfsense box, correct?

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @nomadmd
            last edited by

            @nomadmd I sure wouldn't load an old version of openssl on pfsense.. it would overwrite the existing current deployment.. Which could break stuff..

            Just run it on anything - you can run openssl on you windows pc.. Which you prob have no use for other than running commands like you posted.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 1
            • N
              nomadmd
              last edited by

              OK I am an idiot. "-legacy" option works perfectly well on pfsense generating certificate cisco understands. However, because when testing different oiptions I was running openssl as root generating file with no read permissions for users other than root. chmod a+r /tftpboot/cisco.p12 allowed the file to be downloaded by cisco

              johnpozJ 1 Reply Last reply Reply Quote 1
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @nomadmd
                last edited by

                @nomadmd glad you got it sorted..

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

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