Open Kixunil opened 3 years ago
The certificate is currently verified by-for-byte against a file in FS. This may be undesired in some cases. An alternative function (e.g. connect_pki) should be provided that uses PKI instead of simple comparison.
connect_pki
See also https://github.com/ctz/rustls/issues/772#issuecomment-873343405 and comment below.
The certificate is currently verified by-for-byte against a file in FS. This may be undesired in some cases. An alternative function (e.g.
connect_pki
) should be provided that uses PKI instead of simple comparison.See also https://github.com/ctz/rustls/issues/772#issuecomment-873343405 and comment below.