Skip to content

wire MYSQL_OPT_SSL and MYSQL_OPT_SSL_CA into the pool builder#11

Merged
NullSablex merged 1 commit into
masterfrom
fix-ssl
May 18, 2026
Merged

wire MYSQL_OPT_SSL and MYSQL_OPT_SSL_CA into the pool builder#11
NullSablex merged 1 commit into
masterfrom
fix-ssl

Conversation

@NullSablex

Copy link
Copy Markdown
Owner

Both options were accepted but ignored in connect() until now. When options.ssl is enabled, apply SslOpts::default() via builder.ssl_opts(...); if options.ssl_ca is also set, use with_root_cert_path(PathBuf::from(ca)). Without SSL_CA the platform trust store is used.

Both options were accepted but ignored in connect() until now. When
options.ssl is enabled, apply SslOpts::default() via builder.ssl_opts(...);
if options.ssl_ca is also set, use with_root_cert_path(PathBuf::from(ca)).
Without SSL_CA the platform trust store is used.
@NullSablex NullSablex merged commit bb09a82 into master May 18, 2026
9 checks passed
@NullSablex NullSablex deleted the fix-ssl branch May 18, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant