Skip to content

Commit

Permalink
Remove the intermediate certificate from the macOS cert script
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Apr 4, 2024
1 parent 5974130 commit 2dfff01
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/add-macos-cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ security default-keychain -s $KEY_CHAIN
# Unlock the keychain
security unlock-keychain -p actions $KEY_CHAIN

# The latest Developer ID Intermediate Certificate from Apple is
# missing on CircleCI, but we need it for the cert to be valid
curl https://www.apple.com/certificateauthority/DeveloperIDG2CA.cer -o DeveloperIDG2CA.cer
sudo security add-trusted-cert -d -r unspecified -k $KEY_CHAIN DeveloperIDG2CA.cer
rm -f DeveloperIDG2CA.cer

security import $MACOS_CERT_P12_FILE -k $KEY_CHAIN -P "$MACOS_CERT_PASSWORD" -T /usr/bin/codesign;

security set-key-partition-list -S apple-tool:,apple: -s -k actions $KEY_CHAIN
Expand Down

0 comments on commit 2dfff01

Please sign in to comment.