Re: FreeRADIUS PostgreSQL sslrootcert only

Nick Porter <[email protected]> Fri, 27 Mar 2026 17:07:22 +0000
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
On 27/03/2026 11:42, Sam Hutchings wrote:
> My query is whether there is a solution to allow FreeRADIUS to ignore
> the sslcert/sslkey being missing from the connection string to enable
> this to function similarly to the above or whether this is a
> limitation of the Azure service that I am using and I should query
> with Microsoft Support.

The "radius_db" string is passed to the PostgreSQL client library 
function PQconnectdb - FreeRADIUS doesn't attempt to interpret it at all.

Looking at the PostgreSQL client library documentation 
https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING 
there is an option sslcertmode which determines the client certificate 
behaviour.

Setting that to "disable" will make the connection without attempting to 
load a client certificate.

Nick

-- 
Nick Porter

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
OpenPGP_signature.asc (application/pgp-signature, 665 B)
-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEjw48vgR9BnUn1hS1ena+CY2NqIEFAmnGuUoFAwAAAAAACgkQena+CY2NqIHE
Ewv+NHj1MgNdqmhnsk2e+ztLEkZxNu2O/z2z8AqSUJDydov7w1P4V/xdvhAc2LqNu70SHXNeTi1N
VdFFnbvEqhA3S/RJlo9kdg8LgugYtHszXTI3FaOot6F/ucnFwbbs7SUKJm5oUoMHcxu+7bYvjcoT
zaVx9DYgTEssT03jEDyv606O3BaVS7e3DTpElroB3UU8LBWJIV8lExlBPHYu/bXp9D6wjE2KKVV0
Ox1VhSe+2EPKFgxF9rlk9m26Luc7stYCOyFvey0fyzQHkHSMt9Oj3/INfp+earLAM6xYG17DqxMQ
Ijb8AffdpXVZnQgZhyMCTzLA46ZaHg1hWH+PM2QrhXXSRk+egLpXS8aKvIpPgQP0Umuy/+AUY0MA
GXK45Ki9OgWvTaB5bsm2ZtOzCR6B3WB/XewTmkdP73qgcYUyHv673N/4hBxOnE2po/7BdtimNeV0
uQ2K0L9BpBlq31/RAAWi2CYk6JqunOoIcGRMcIZbEHapTuRXskfzRgjBZyWB
=WYQs
-----END PGP SIGNATURE-----