Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brentkastner/6951771d4d9716b813b771e28bff309e to your computer and use it in GitHub Desktop.
Save brentkastner/6951771d4d9716b813b771e28bff309e to your computer and use it in GitHub Desktop.
- run:
name: Install Certificates
context: org-global
command: |
security create-keychain -p default MyKeychain.keychain
security set-keychain-settings MyKeychain.keychain
security unlock-keychain -p default MyKeychain.keychain
security import ~/cert.p12 -x -t agg -k MyKeychain.keychain -A -P ""
security set-keychain-settings -lut 7200 MyKeychain.keychain
security list-keychains -d user -s MyKeychain.keychain $(security list-keychains -d user | sed s/\"//g)
security list-keychains
security default-keychain -s MyKeychain.keychain
security find-identity -v -p codesigning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment