Skip to content

Commit

Permalink
Merge pull request #475 from slovensko-digital/build/handle-whitespac…
Browse files Browse the repository at this point in the history
…e-in-ssl-path

handle spaces in ssl directory path in macos cert install script
  • Loading branch information
celuchmarek authored Jul 1, 2024
2 parents 3e30c72 + dde4885 commit 288de83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ DNS.1=loopback.autogram.slovensko.digital

/usr/bin/openssl pkcs12 -export -in "$TLS_DIR/autogram-cert.pem" -inkey "$TLS_DIR/autogram-key.pem" -out "$TLS_DIR/autogram-pkcs12-cert.p12" -name "autogram-pkcs12-cert" -passout pass:

security -v add-trusted-cert -r trustRoot -p basic -p ssl -k $HOME/Library/Keychains/login.keychain-db "$TLS_DIR/autogram-cert.pem"
security -v add-trusted-cert -r trustRoot -p basic -p ssl -k "$HOME/Library/Keychains/login.keychain-db" "$TLS_DIR/autogram-cert.pem"

# Cleanup openssl config
rm $SSL_CONFIG_TMP
Expand Down

0 comments on commit 288de83

Please sign in to comment.