Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #4131 > unrolled thread

Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com"

Started byMax Williams <toastkid.williams@gmail.com>
First post2011-05-08 11:15 -0500
Last post2011-07-13 08:44 +0000
Articles 8 — 3 participants

Back to article view | Back to comp.lang.ruby


Contents

  Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Max Williams <toastkid.williams@gmail.com> - 2011-05-08 11:15 -0500
    Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Hassan Schroeder <hassan.schroeder@gmail.com> - 2011-05-08 11:34 -0500
      Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Max Williams <toastkid.williams@gmail.com> - 2011-05-08 12:06 -0500
        Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Hassan Schroeder <hassan.schroeder@gmail.com> - 2011-05-08 12:18 -0500
          Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Max Williams <toastkid.williams@gmail.com> - 2011-05-08 12:41 -0500
            Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Hassan Schroeder <hassan.schroeder@gmail.com> - 2011-05-08 13:02 -0500
              Re: Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com" Max Williams <toastkid.williams@gmail.com> - 2011-05-08 13:17 -0500
    Re: Problem setting up heroku: "Unable to verify SSL certificate forapi.heroku.com" David Gyergyoi <david.gyergyoi@gmail.com> - 2011-07-13 08:44 +0000

#4131 — Problem setting up heroku: "Unable to verify SSL certificate for api.heroku.com"

FromMax Williams <toastkid.williams@gmail.com>
Date2011-05-08 11:15 -0500
SubjectProblem setting up heroku: "Unable to verify SSL certificate for api.heroku.com"
Message-ID<eb4908e19d0f76889fff2095c8b50d38@ruby-forum.com>
Hi all.  I'm trying to deploy a test app up to heroku.  I've got a
github account, set up with keys (ie i can do ssh git@github.com ok).
I've set up a heroku account on heroku.com.  I'm following the tutorial
here:

http://devcenter.heroku.com/articles/quickstart

and am at step 3.  I do "heroku create" and get the prompts for my
heroku username and password.  I enter these, and then get the following
back:

>>  WARNING: Unable to verify SSL certificate for api.heroku.com
>>  To disable SSL verification, run with HEROKU_SSL_VERIFY=disable

I've googled for this warning and can't see anything about it anywhere.
I then googled the HEROKU_SSL_VERIFY option and found this page which
talks about "piggyback ssl".  But this is talking about adding ssl to an
app, and i don't even have any apps yet.

Step 2 in that tutorial says "You will need to generate a public SSH key
and upload it to Heroku. ".  I don't know how to do this - would this be
done automatically as part of the failing step 3 above?

Basically i'm confused and stuck.  Any ideas anyone?
thanks, max

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [next] | [standalone]


#4132

FromHassan Schroeder <hassan.schroeder@gmail.com>
Date2011-05-08 11:34 -0500
Message-ID<BANLkTi=nRC+vq-AxNDrTYdaqn=wL_dM8mQ@mail.gmail.com>
In reply to#4131
On Sun, May 8, 2011 at 9:15 AM, Max Williams
<toastkid.williams@gmail.com> wrote:
> Hi all.  I'm trying to deploy a test app up to heroku.
..
> Step 2 in that tutorial says "You will need to generate a public SSH key
> and upload it to Heroku. ".  I don't know how to do this ...

prompt% heroku help
..
keys                                       # show your user's public keys
keys:add [<path to keyfile>]               # add a public key
keys:remove <keyname>                      # remove a key by name (user@host)
keys:clear                                 # remove all keys
..

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

[toc] | [prev] | [next] | [standalone]


#4133

FromMax Williams <toastkid.williams@gmail.com>
Date2011-05-08 12:06 -0500
Message-ID<5b809559f123a611c279f907f376ee33@ruby-forum.com>
In reply to#4132
Hassan Schroeder wrote in post #997393:
> On Sun, May 8, 2011 at 9:15 AM, Max Williams
> <toastkid.williams@gmail.com> wrote:
>> Hi all. I'm trying to deploy a test app up to heroku.
> ...
>> Step 2 in that tutorial says "You will need to generate a public SSH key
>> and upload it to Heroku. ". I don't know how to do this ...
>
> prompt% heroku help
> ...
> keys                                       # show your user's public
> keys
> keys:add [<path to keyfile>]               # add a public key
> keys:remove <keyname>                      # remove a key by name
> (user@host)
> keys:clear                                 # remove all keys
> ...
>
> HTH,

Thanks Hassan, but i get the same warning when i try to do any of the 
above "keys" actions as well.

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [next] | [standalone]


#4134

FromHassan Schroeder <hassan.schroeder@gmail.com>
Date2011-05-08 12:18 -0500
Message-ID<BANLkTimVG20di1e2k25RUEkCg0t5kmJ3ug@mail.gmail.com>
In reply to#4133
On Sun, May 8, 2011 at 10:06 AM, Max Williams
<toastkid.williams@gmail.com> wrote:

> Thanks Hassan, but i get the same warning when i try to do any of the
> above "keys" actions as well.

mmm. What OS/version of SSL are you using?

What happens if you open a browser to https://api.heroku.com ?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

[toc] | [prev] | [next] | [standalone]


#4135

FromMax Williams <toastkid.williams@gmail.com>
Date2011-05-08 12:41 -0500
Message-ID<ba0d680cdb142de58b7067f7e0140b93@ruby-forum.com>
In reply to#4134
Hassan Schroeder wrote in post #997400:
> On Sun, May 8, 2011 at 10:06 AM, Max Williams
> <toastkid.williams@gmail.com> wrote:
>
>> Thanks Hassan, but i get the same warning when i try to do any of the
>> above "keys" actions as well.
>
> mmm. What OS/version of SSL are you using?
OS is Ubuntu 9.10
i have openssl installed, the version for that is "openssl version
OpenSSL 0.9.8g 19 Oct 2007" - is that what you meant?
>
> What happens if you open a browser to https://api.heroku.com ?
That seems fine - i'm still logged in like i was on the non ssl version 
of the page.

I've managed to sort it out i think, by opening a new rvm, downloading 
an old version of the heroku gem (with `gem install heroku -v "<2.0.0"`) 
and doing heroku create in there.  This let me upload my public key (i 
had a choice of three - id_rsa.pub, id_dsa.pub and identity.pub, maybe 
this was confusing it)?

Then when i went back to my app (and its associated rvm, which had the 
most recent version of the heroku gem installed) i was able to do heroku 
create, and the other stuff, ok.  Kind of odd that i had to go back to 
an older gem just to upload my public key though - would still like to 
know what the problem was even though it's not as pressing any more.

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [next] | [standalone]


#4136

FromHassan Schroeder <hassan.schroeder@gmail.com>
Date2011-05-08 13:02 -0500
Message-ID<BANLkTikhiVOydqgaEa=UL0AX2AzHeDBJqg@mail.gmail.com>
In reply to#4135
On Sun, May 8, 2011 at 10:41 AM, Max Williams
<toastkid.williams@gmail.com> wrote:

> Then when i went back to my app (and its associated rvm, which had the
> most recent version of the heroku gem installed) i was able to do heroku
> create, and the other stuff, ok.  Kind of odd that i had to go back to
> an older gem just to upload my public key though - would still like to
> know what the problem was even though it's not as pressing any more.

Good that you got past it, but you should open a ticket with Heroku --
I've seen a Heroku gem update break something (unrelated to this issue)
that previously worked, and it got corrected after I opened a ticket and
documented the problem.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

[toc] | [prev] | [next] | [standalone]


#4138

FromMax Williams <toastkid.williams@gmail.com>
Date2011-05-08 13:17 -0500
Message-ID<87a6c23422a86a0ba1af1b9975ec7ac4@ruby-forum.com>
In reply to#4136
Hassan Schroeder wrote in post #997407:
> On Sun, May 8, 2011 at 10:41 AM, Max Williams
> <toastkid.williams@gmail.com> wrote:
>
>> Then when i went back to my app (and its associated rvm, which had the
>> most recent version of the heroku gem installed) i was able to do heroku
>> create, and the other stuff, ok. Kind of odd that i had to go back to
>> an older gem just to upload my public key though - would still like to
>> know what the problem was even though it's not as pressing any more.
>
> Good that you got past it, but you should open a ticket with Heroku --
> I've seen a Heroku gem update break something (unrelated to this issue)
> that previously worked, and it got corrected after I opened a ticket and
> documented the problem.
>
> FWIW,

Yeah, i'll do that.  Thanks a lot - max

-- 
Posted via http://www.ruby-forum.com/.

[toc] | [prev] | [next] | [standalone]


#6126 — Re: Problem setting up heroku: "Unable to verify SSL certificate forapi.heroku.com"

FromDavid Gyergyoi <david.gyergyoi@gmail.com>
Date2011-07-13 08:44 +0000
SubjectRe: Problem setting up heroku: "Unable to verify SSL certificate forapi.heroku.com"
Message-ID<201171344414usenet@terrranews.com>
In reply to#4131
Hi!

I've done something with myheroku settings, and iw I write a heroku command to my console, heroku alwalys ansvers:
"
WARNING: Unable to verify SSL certificate for api.heroku.com
To disable SSL verification, run with HEROKU_SSL_VERIFY=disable
"

How can I setup that flag to disable?

Something went wrong, an I wrote:
heroku maintenance:on
then I couldn't wrote it with :off, because it alwasy throwed the warning. I tried to reinstall heroku, but i've got the same problem.

Please help me, if you can!
Thanks:
davv

> On Sunday, May 08, 2011 12:15 PM Max Williams wrote:

> Hi all.  I am trying to deploy a test app up to heroku.  I have got a
> github account, set up with keys (ie i can do ssh git@github.com ok).
> I have set up a heroku account on heroku.com.  I am following the tutorial
> here:
> 
> http://devcenter.heroku.com/articles/quickstart
> 
> and am at step 3.  I do "heroku create" and get the prompts for my
> heroku username and password.  I enter these, and then get the following
> back:
> 
> 
> I have googled for this warning and cannot see anything about it anywhere.
> I then googled the HEROKU_SSL_VERIFY option and found this page which
> talks about "piggyback ssl".  But this is talking about adding ssl to an
> app, and i do not even have any apps yet.
> 
> Step 2 in that tutorial says "You will need to generate a public SSH key
> and upload it to Heroku. ".  I do not know how to do this - would this be
> done automatically as part of the failing step 3 above?
> 
> Basically i'm confused and stuck.  Any ideas anyone?
> thanks, max
> 
> --
> Posted via http://www.ruby-forum.com/.


>> On Sunday, May 08, 2011 12:34 PM Hassan Schroeder wrote:

>> ..
>> 
>> prompt% heroku help
>> ..
>> keys                                       # show your user's public keys
>> keys:add [<path to keyfile>]               # add a public key
>> keys:remove <keyname>                      # remove a key by name (user@hos=
>> t)
>> keys:clear                                 # remove all keys
>> ..
>> 
>> HTH,
>> --=20
>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>> twitter: @hassan


>>> On Sunday, May 08, 2011 1:06 PM Max Williams wrote:

>>> Hassan Schroeder wrote in post #997393:
>>> 
>>> Thanks Hassan, but i get the same warning when i try to do any of the
>>> above "keys" actions as well.
>>> 
>>> --
>>> Posted via http://www.ruby-forum.com/.


>>>> On Sunday, May 08, 2011 1:18 PM Hassan Schroeder wrote:

>>>> mmm. What OS/version of SSL are you using?
>>>> 
>>>> What happens if you open a browser to https://api.heroku.com ?
>>>> 
>>>> --
>>>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>>>> twitter: @hassan


>>>>> On Sunday, May 08, 2011 1:41 PM Max Williams wrote:

>>>>> Hassan Schroeder wrote in post #997400:
>>>>> OS is Ubuntu 9.10
>>>>> i have openssl installed, the version for that is "openssl version
>>>>> OpenSSL 0.9.8g 19 Oct 2007" - is that what you meant?
>>>>> That seems fine - i'm still logged in like i was on the non ssl version
>>>>> of the page.
>>>>> 
>>>>> I have managed to sort it out i think, by opening a new rvm, downloading
>>>>> an old version of the heroku gem (with `gem install heroku -v "<2.0.0"`)
>>>>> and doing heroku create in there.  This let me upload my public key (i
>>>>> had a choice of three - id_rsa.pub, id_dsa.pub and identity.pub, maybe
>>>>> this was confusing it)?
>>>>> 
>>>>> Then when i went back to my app (and its associated rvm, which had the
>>>>> most recent version of the heroku gem installed) i was able to do heroku
>>>>> create, and the other stuff, ok.  Kind of odd that i had to go back to
>>>>> an older gem just to upload my public key though - would still like to
>>>>> know what the problem was even though it is not as pressing any more.
>>>>> 
>>>>> --
>>>>> Posted via http://www.ruby-forum.com/.


>>>>>> On Sunday, May 08, 2011 2:02 PM Hassan Schroeder wrote:

>>>>>> Good that you got past it, but you should open a ticket with Heroku --
>>>>>> I have seen a Heroku gem update break something (unrelated to this issue)
>>>>>> that previously worked, and it got corrected after I opened a ticket and
>>>>>> documented the problem.
>>>>>> 
>>>>>> FWIW,
>>>>>> --=20
>>>>>> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>>>>>> twitter: @hassan


>>>>>>> On Sunday, May 08, 2011 2:17 PM Max Williams wrote:

>>>>>>> Hassan Schroeder wrote in post #997407:
>>>>>>> 
>>>>>>> Yeah, i'll do that.  Thanks a lot - max
>>>>>>> 
>>>>>>> --
>>>>>>> Posted via http://www.ruby-forum.com/.


[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.ruby


csiph-web