anchordotdev / cli

MIT License
297 stars 6 forks source link

Error: failed to execute "security add-trusted-cert": exit status 1sudo: 3 incorrect password attempts #37

Closed geo13kanici closed 3 months ago

geo13kanici commented 3 months ago

Are there any additional details you would like to share?


Command: anchor lcl Executable: /opt/homebrew/bin/anchor Version: 0.1.0 (darwin/arm64) Commit: a4aecb2fc84164f12594732272f1a1d81ba46410 BuildDate: 2024-08-12T22:31:09Z Arguments: [] Flags: [] Timestamp: 2024-08-16T10:28:49.90188Z Stdout:

| Let's set up fast and totally free lcl.host HTTPS!

# Setup lcl.host HTTPS Local Development Environment `anchor lcl`
    | We'll set you up to use HTTPS locally in your browsers and other programs.

# Audit lcl.host HTTPS Local Development Environment `anchor lcl audit`
    | We'll compare your local development CA certificates from Anchor and your local trust stores.
    - Compared local and expected CA certificates: need to install 4 missing certificates.

# Initial System Configuration for lcl.host Local HTTPS Development `anchor lcl bootstrap`
    | We'll configure your browsers and OS to trust your local development certificates.
    - Checked diagnostic service on Anchor.dev: no provisioning needed.
    | Now we'll provision Anchor.dev resources and HTTPS certificates for you.
    - Created hi-geo13kanici [hi-geo13kanici.lcl.host, hi-geo13kanici.localhost] diagnostic resources on Anchor.dev.
    - Great, http://hi-geo13kanici.lcl.host:4433 works as expected (without HTTPS).
    | Now, we'll add your personal CA certificates to your system's trust stores.

# Manage CA Certificates in your Local Trust Store(s) `anchor trust`
    - Updated Homebrew OpenSSL (ca-certificates): installed geo13kanici/localhost - AnchorCA [ECDSA, RSA], luyurynailjolie-84c687/development - AnchorCA [ECDSA, RSA]
    * Updating System (MacOS Keychain): installing geo13kanici/localhost - AnchorCA ECDSA… ⠋
geemus commented 3 months ago

Closing as duplicate of #36