[Ruby] Directory information of DEFAULT_CERT_FILE in Mac ruby 2.0.0

less than 1 minute read

There is a different Mac from the one that openssl, curl and ruby were source built and installed in the past article. Homebrew works on MacOSX 10.11, but I removed it and made it almost clean.

Return to ruby 2.0.0. Then $ ruby -ropenssl -e “p OpenSSL::X509::DEFAULT_CERT_FILE” “/System/Library/OpenSSL/cert.pem”

OpenSSL $ ls -la total 8 drwxr-xr-x 6 root wheel 204B 2 5 2016. drwxr-xr-x 82 root wheel 2.7K 8 28 2018 .. drwxr-xr-x 2 root wheel 68B 2 5 2016 certs drwxr-xr-x 8 root wheel 272B 2 5 2016 misc

  • rw-r–r– 1 root wheel 9.2K 2 5 2016 openssl.cnf drwxr-xr-x 2 root wheel 68B 2 5 2016 private OpenSSL $ cd certs certs $ ls -la total 0 drwxr-xr-x 2 root wheel 68B 2 5 2016. drwxr-xr-x 6 root wheel 204B 2 5 2016 .. certs $

That’s all for writing notes.