-
Notifications
You must be signed in to change notification settings - Fork 382
Certificate signed by unknown authority #2018
Comments
Are you behind a proxy? Make sure you follow the proxy instructions here: https://devcenter.heroku.com/articles/using-the-cli |
After the export, I got this! |
I don't know what your proxy server is, you'll have to ask your system administrator. |
Oh sorry, I thought that it was for heroku. I don't have proxy, I'm using direct connection. The error is: |
That error means the CLI isn't recognizing api.heroku.com as a legitimate host. Usually this happens because there is a MITM proxy that is intercepting the traffic and altering it. Something is between your internet and our servers that is causing it to happen. |
But for example, I can't make |
well the CLI uses its own certs, you might have a root certificate that bypasses our SSL cert (which I hope you don't), but if that is the case, you can set the certs with SSL_CERT_DIR or SSL_CERT_FILE I think. |
I try this but without success :s |
This is going to sound stupid but I had the same problem and spent several hours trying to figure out what was going on. In the end, I shutdown/restarted my mac and it started working. Gah! |
I encountered same error on Mac Yosemite and Sierra. |
I've encountered the same problem but was the solution for my situation (running macOS Sierra) was going in sudo mode. |
Similar issue after installing heroku via homebrew. Running |
Mac OS 10.12.2 Sierra + antivirus Kaspersky... |
I had a similar issue in Sierra 10.12.2. Restarting iTerm2 did the trick for me. |
@alxpck @DrFrolla @emilyemoss @houssem-yahiaoui @thirota @patricia93sousa We were waiting on the |
Note: |
@ransombriggs I just checked Weirdly, all I had to do was quit my terminal (iTerm2) session and launch a new one and it started working. |
@alxpck the heroku CLI automatically updates in the background so it may have auto updated you after you saw the error four days ago without you manually requesting an update. Let me know if you see the error again so that I can continue to investigate this (I upgraded to Sierra to debug this error and have not seen the error since updating heroku, but since it was an intermittent error I am not completely sure it is fixed) |
Sudo worked for me. I think it has something to do with the root certificate bypassing the SSL cert. I am using a mac on which I am not the root user even though I have admin privileges. @kartiknagappa Not stupid at all. I took your advice. |
git 中heroku login 登录不上,总是报错: ▸ Post https://api.heroku.com/login: http: error connecting to proxy http://proxy.server.com:portnumber: dial tcp: unknown port tcp/portnumber 这两种错误。怎么能解决呢? |
I'm trying to make the login in heroku but I get this:
I already try to generate a ssl certificate but it cannot solve the problem. I don't know if it is problem or not of the ssl.
Can anyone help me with this?
Thank's in advance.
The text was updated successfully, but these errors were encountered: