Directory information of DEFAULT_CERT_FILE in Mac ruby 2.0.0

There is a Mac different from the Mac that source-built and installed openssl, curl, and ruby in the past article. Homebrew works on MacOSX 10.11, but I removed it and cleaned it up.

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.

Recommended Posts

Directory information of DEFAULT_CERT_FILE in Mac ruby 2.0.0
Acquisition of article information in ruby ​​scraping
Judgment of fractions in Ruby
Basics of sending Gmail in Ruby
Implementation of ls command in Ruby
Try file locking in Ruby directory
openssl version information in ruby OPENSSL_VERSION
Summary of hashes and symbols in Ruby
[Ruby] Classification and usage of loops in Ruby
[Ruby] Behavior of evaluation of conditional expression in while
Recommendation of Service class in Ruby on Rails
Class in Ruby
Basics of Ruby
Heavy in Ruby! ??
Enumerate subsets of arrays given in Ruby (+ α)
Create a native extension of Ruby in Rust
Count the number of occurrences of a string in Ruby
Access the war file in the root directory of Tomcat
[Ruby] The role of subscripts in learning elements in arrays
Get the URL of the HTTP redirect destination in Ruby
Manage multiple versions of Ruby on Mac [macOS + rbenv]
Handling of date and time in Ruby. Use Date and Time properly.
About eval in Ruby
Mac Java Home Directory
Summary of information security
definition of ruby method
Output triangle in Ruby
Variable type in ruby
Output in multiples of 3
Fast popcount in Ruby
Determine that the value is a multiple of 〇 in Ruby
Microbenchmark for integer power of floating point numbers in Ruby
Handling of line beginning and line ending in regular expressions in Ruby