참고 : https://github.com/heroku/cli/issues/1054
uendelrocha 아이디로 검색해서 본다.
Heroku Login: "Error: self signed certificate in certificate chain" · Issue #1054 · heroku/cli
What is the current behavior? Currently, I am simply trying to login to heroku, but am having continuous struggles doing so. I keep receiving the error: "Error: self signed certificate in cert...
github.com
In Windows 10, follow the steps below:
- Open heroku.com on Chrome or Firefox browser and login (or open any other site that uses https (e.g. google.com)).
- Right-click the lock and click Certificate to view certificate issuer details.
- Open the Certification Path tab.
- Choose the proxy certificate (it appears at the top of the list) and press the Show Certificate button.
- Open the Details tab and click the Copy to File ... button.
- Choose base64 encoded X.509 format (* .cer) and click Next button.
- Click the Browse button and enter a location and file name. Remember to save with the extension "cer". Example: D: \Users\uendel\Desktop\proxy.cer
- Close the windows and open the Windows command prompt and run the following command line (replace the location with the path where you saved the certificate):
SET NODE_EXTRA_CA_CERTS=D:\Users\uendel\Desktop\proxy.cer - Revert to the old OpenSSL behaviour:
git config --global http.sslBackend "openssl"
git config --global http.sslCAInfo D:\Users\uendel\Desktop\proxy.cer
- Login heroku. A tab will open in the browser. Click the Login button.
heroku login - Verify that the installation was successful by running
heroku whoami