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

    Freeradius 1.7.8 on pfsense 2.4.0 : eap-tls bug on ca+crl pem file output

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 799 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.
    • L
      LucaTo
      last edited by

      pfsemse 2.4.0 fresh install ( 2.4.0.b.20170422.1955 )
      freeradius2 ( 1.7.8 )

      configuring eap-tls ca and crl produce pem file output ( /usr/local/etc/raddb/certs/ca_cert.pem ) like this:

      
      -----BEGIN CERTIFICATE-----
      here my ca certificate.......
      -----END CERTIFICATE----------BEGIN X509 CRL-----
      here my crl certificate......
      -----END X509 CRL-----
      
      

      instead of this that should be:

      
      -----BEGIN CERTIFICATE-----
      here my ca certificate.......
      -----END CERTIFICATE-----
      -----BEGIN X509 CRL-----
      here my crl certificate......
      -----END X509 CRL-----
      
      

      missing "cr" (carriage return) at the bottom of ca cert
      this results in radius service stopping with error:

      /usr/local/etc/raddb/sites-enabled/default[263]: Errors parsing authenticate section
      

      and you can't re-start it….
      you need to manual edit the ca_cert.pem file, insert the missing "cr" and... radius service can start regularly :-)

      NOTE: I notice this only in 2.4.0 release (this is my first install of the new release), no issue in my other 2.3.4 (same 1.7.8 radius).

      https://redmine.pfsense.org/issues/7491

      1 Reply Last reply Reply Quote 0
      • L
        LucaTo
        last edited by

        solved!
        https://github.com/pfsense/FreeBSD-ports/pull/344

        thanks doktornotor!

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