![]() Then put cert.pem to: "/usr/local/ssl/cert. Security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > cert.pem Old way: security find-certificate -a -p /Library/Keychains/System.keychain > cert.pem ln -s /etc/ssl/cert.pem /usr/local/ssl/cert.pem If you machine doesn't have "/usr/local/ssl/" dir, first make it. You may find wget cannot verify any https connection, because there is no CA certs for the OpenSSL you built. Wget should configure and found OpenSSL, then make: make These instructions do not work for wget 1.17 on Mac OS 10.11.6./configure with-sslopenssl completes without errors, but then make fails with openssl.c:39:10: fatal error: ‘openssl/ssl.h’ file not found Setting the various flags suggested above does not change this. configure -with-ssl=openssl -with-libssl-prefix=/Users/xxx/openssl-xcode/openssl Let's say it is: "/Users/xxx/openssl-xcode/openssl", so there should be "/Users/xxx/openssl-xcode/openssl/include" for OpenSSL include and "/Users/xxx/openssl-xcode/openssl/lib" for "libcrypto.a" and "libssl.a". Then, prepare your OpenSSL directory with "include" and "lib/libcrypto.a", "lib/libssl.a" in it. ![]() I found this:, follow instruction and build OpenSSL lib. Since Xcode doesn't come with OpenSSL lib, you need build by yourself. For macOS Sierra, to build wget 1.18 from source with Xcode 8.2.
0 Comments
Leave a Reply. |