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:
Anton Barkovsky
2019-11-11 12:09:14 +01:00
committed by Lucio Franco
parent c15e01a09b
commit e3df2eafd3
+1
View File
@@ -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
",