alexcrichton / openssl-probe

Apache License 2.0
54 stars 13 forks source link

illumos: find OmniOS and OpenIndiana CA bundle locations #22

Closed jclulow closed 2 years ago

jclulow commented 2 years ago

Tested on OmniOS (an illumos distribution):

$ head -1 /etc/release
  OmniOS v11 r151038q

$ cargo run --example probe
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/examples/probe`
cert_dir: Some("/usr/ssl/certs")
cert_file: Some("/etc/ssl/cacert.pem")

And OpenIndiana (another illumos distribution):

$ head -1 /etc/release
             OpenIndiana Hipster 2021.04 (powered by illumos)

$ cargo run --example probe
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `target/debug/examples/probe`
cert_dir: Some("/etc/openssl/certs")
cert_file: Some("/etc/certs/ca-certificates.crt")
jclulow commented 2 years ago

Assuming this is alright to merge, it would be good to get a 0.1.5 release out as well. Should I push another commit with a version bump, or?

alexcrichton commented 2 years ago

Yes I can do a version bump

jclulow commented 2 years ago

Thanks very much!