-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hi,
Thanks for building/maintaining sqlx! I have a use-case for client connections using TLS auth in my infra and I cant find an open feature request. I have a working change-set to implement this for rustls. Mind if I were to send a PR? Essentially, adds MySqlConnectOptions.ssl_client_cert()
to allow rustls mode configure_tls_connector
to load up the client cert during connection time.
Is your feature request related to a problem? Please describe.
Lack of SSL client auth for mysql clients
Describe the solution you'd like
Option to pass a combined PEM file via MySqlConnectOptions.ssl_client_cert()
that gets used by the TLS Connector.
Describe alternatives you've considered
I did consider mysql_async
crate but I liked the semantics of sqlx better.
Additional context
NA