From e3df2eafd32e6f813d08617f0e2cd7abbc05c2b1 Mon Sep 17 00:00:00 2001 From: Anton Barkovsky Date: Mon, 11 Nov 2019 14:09:14 +0300 Subject: [PATCH] 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 --- tokio-tls/tests/smoke.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio-tls/tests/smoke.rs b/tokio-tls/tests/smoke.rs index d1a3863b2..7d66424ba 100644 --- a/tokio-tls/tests/smoke.rs +++ b/tokio-tls/tests/smoke.rs @@ -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 ",