mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
tls: fix test certificate to work on macOS 10.15 (#1763)
macOS 10.15 introduced new requirements for certificates to be trusted: https://support.apple.com/en-us/HT210176
This commit is contained in:
parent
c15e01a09b
commit
e3df2eafd3
@ -53,6 +53,7 @@ fn openssl_keys() -> &'static Keys {
|
||||
[ ext ]\n\
|
||||
basicConstraints=CA:FALSE,pathlen:0\n\
|
||||
subjectAltName = @alt_names
|
||||
extendedKeyUsage=serverAuth,clientAuth
|
||||
[alt_names]
|
||||
DNS.1 = localhost
|
||||
",
|
||||
|
Loading…
x
Reference in New Issue
Block a user