File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,16 @@ function runSpotCheck() {
4040 exit 2
4141 fi
4242
43- doTestCmd " ${OPENSSL_INSTALL_DIR} /bin/openssl s_client -CApath /etc/ssl/certs -connect github.com:443 </dev/null"
44- doTestCmd " curl https://github.com/wolfSSL/wolfProvider -o test.html"
45-
46- doTestCmd " ${OPENSSL_INSTALL_DIR} /bin/openssl s_client -CApath /etc/ssl/certs -connect tls.support:443 </dev/null"
47- doTestCmd " curl https://tls.support -vv --tlsv1.3 --tls-max 1.3 -o test.html"
43+ case ` uname` in
44+ Darwin)
45+ doTestCmd " security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > ${SCRIPT_DIR} /allCA.pem"
46+ CA_ARGS=" -CAfile ${SCRIPT_DIR} /allCA.pem"
47+ ;;
48+ * ) CA_ARGS=" -CApath /etc/ssl/certs" ;;
49+ esac
50+
51+ doTestCmd " ${OPENSSL_INSTALL_DIR} /bin/openssl s_client ${CA_ARGS} -connect github.com:443 </dev/null"
52+ doTestCmd " ${OPENSSL_INSTALL_DIR} /bin/openssl s_client ${CA_ARGS} -connect tls.support:443 </dev/null"
4853}
4954
5055runSpotCheck
You can’t perform that action at this time.
0 commit comments