Skip to content

Commit

Permalink
fix: add -d flag to security command, not sure why it ignores -p othe…
Browse files Browse the repository at this point in the history
…rwise, but oh well
  • Loading branch information
davewasmer committed Apr 28, 2017
1 parent 438ebb5 commit 842404f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root-authority.ts
Expand Up @@ -73,7 +73,7 @@ function generateOpenSSLConfFiles() {
async function addToMacTrustStores(installCertutil: boolean): Promise<void> {
// Chrome, Safari, system utils
debug('adding devcert root CA to macOS system keychain');
run(`sudo security add-trusted-cert -r trustRoot -k /Library/Keychains/System.keychain -p ssl "${ rootCertPath }"`);
run(`sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain -p ssl -p basic "${ rootCertPath }"`);
// Firefox
try {
// Try to use certutil to install the cert automatically
Expand Down

0 comments on commit 842404f

Please sign in to comment.