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

    Freeradius, ACME, Built-in Cert Manager - workarounds with intermediate certificate

    Scheduled Pinned Locked Moved ACME
    acmefreeradiuscertificate
    5 Posts 3 Posters 1.3k 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.
    • V
      vherrlein
      last edited by vherrlein

      Hi All,

      Recently I was facing an issue with Freeradius using the built-in cert manager which certificates are manage by the ACME package.
      The error was quite non understandable in debug mode:

      eap_peap: ERROR: Failed in __FUNCTION__ (SSL_read): error:14094419:SSL routines:ssl3_read_bytes:tlsv1 alert access denied

      For your information, I'm using freeradius for WP2 Enterprise Authentication over NAS.
      With phones everything is fine (Android or iOS).
      But that error occurred with Windows OS and sometimes with MacOS.

      After few hours of troubleshooting, re-reading freeradius documentations (TLS Certificate part), it appears the client machine requires in addition the intermediate certificate one for the authentication when we are using a Let's Encrypt certificate.

      The problem is the ACME store only the normal generated/renewed certificate (including the CA one) but not the fullchain one.

      My workarounds are :

      • Copy/paste the full chain certificate into the cert manager and reconfigure freeradius to use it
      • Or, automating at renewal with the following command:

      cp /tmp/acme/yourdomain/yourdomain/fullchain.cer /usr/local/etc/raddb/certs/server_cert.pem

      So, my questions are

      • What would be the best way to apply that?
      • Enhancing the ACME package to detect the usage in freeradius and performing the copy operation?
      • Adding a way into the ACME package that add also the fullchain certificate into the built-in cert manager at renewal?

      Thank you in advance.
      Regards.

      1 Reply Last reply Reply Quote 0
      • J
        jonny_boy27
        last edited by

        I have found that symlinking /usr/local/etc/raddb/certs/server_cert.pem to /conf/acme/[name of acme cert].fullchain and /usr/local/etc/raddb/certs/server_key.pem to /conf/acme/[name of acme cert].key works for me

        1 Reply Last reply Reply Quote 0
        • viktor_gV
          viktor_g Netgate
          last edited by

          Redmine issue: https://redmine.pfsense.org/issues/10908

          1 Reply Last reply Reply Quote 0
          • viktor_gV
            viktor_g Netgate
            last edited by

            Fixed in FreeRADIUS 0.15.7_18, please check

            V 1 Reply Last reply Reply Quote 1
            • V
              vherrlein @viktor_g
              last edited by

              @viktor_g I will update it as soon as possible.

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