[RADIATOR] MySQL and SSL
Tuure Vartiainen
vartiait at open.com.au
Thu Mar 21 07:11:06 UTC 2019
Hello,
> On 21 Mar 2019, at 0.51, Eric W. Bates <ericx at whoi.edu> wrote:
>
> I suppose I'm being obtuse, but I cannot find any reference to using SSL with MySQL anywhere in the manual.
>
> DBI appears to support a variety of SSL class methods. I would like to enable SSL on our MySQL and require it's use. Is there some way to tweak DBSource to specify that?
>
Yes, you can configure SSL to be used by adding ‘mysql_ssl=1’ to DBSource, e.g.
DBSource dbi:mysql:database=<database>;host=<hostname>;mysql_ssl=1;mysql_ssl_ca_file=/path/to/ca_cert.pem
Ref: https://metacpan.org/pod/DBD::mysql#Class-Methods
BR
--
Tuure Vartiainen <vartiait at open.com.au>
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
More information about the radiator
mailing list