Skip to content

Instantly share code, notes, and snippets.

@0xNonCents
Last active December 20, 2021 03:29
Show Gist options
  • Save 0xNonCents/68238374226ada243e92382bc47b93cc to your computer and use it in GitHub Desktop.
Save 0xNonCents/68238374226ada243e92382bc47b93cc to your computer and use it in GitHub Desktop.
ClientConnectorCertificateError when trying to deploy a StarkNet contract

ClientConnectorCertificateError when trying to deploy a StarkNet contract

When deploying the contract with the command

starknet deploy --contract contract_compiled.json --network=alpha-goerli

and you run into the error

Error: ClientConnectorCertificateError: Cannot connect to host alpha4.starknet.io:443 ssl:True 
[SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable
to get local issuer certificate (_ssl.c:1076)')]

Please run the command

/Applications/Python 3.7/Install Certificates.command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment