gokrazy / tools

this repository contains the gok CLI tool of gokrazy
https://gokrazy.org
BSD 3-Clause "New" or "Revised" License
50 stars 27 forks source link

Find macOS Homebrew CA certs #3

Closed twpayne closed 7 years ago

twpayne commented 7 years ago

This is one step towards making gokr-packer work on macOS systems.

stapelberg commented 7 years ago

Thanks! This certainly makes things simpler for homebrew users.

Another way of getting this to work is using

mkdir -p ~/.config/gokrazy
security find-certificate -a \
  -p /System/Library/Keychains/SystemCACertificates.keychain \
  > ~/.config/gokrazy/cacert.pem

…as documented in passing in https://github.com/gokrazy/gokrazy/issues/14