You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLS skip_domain_validation is not respected when using rustls.
This line checks for "CertNotValidForName" string, but since rustls 0.21 the error is simply called NotValidForName, so the check fails and the connection cannot be completed.
Simply adjusting the checked string is sufficient to fix the issue.
The text was updated successfully, but these errors were encountered:
alekitto
added a commit
to alekitto/mysql_async
that referenced
this issue
Jan 10, 2024
TLS
skip_domain_validation
is not respected when using rustls.This line checks for
"CertNotValidForName"
string, but since rustls 0.21 the error is simply calledNotValidForName
, so the check fails and the connection cannot be completed.Simply adjusting the checked string is sufficient to fix the issue.
The text was updated successfully, but these errors were encountered: