[haiku-bugs] [Haiku] #10016: [Haiku PM] wget certificate issue

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Tue, 24 Sep 2013 21:24:03 -0000

#10016: [Haiku PM] wget certificate issue
---------------------------------------------+-----------------------------
 Reporter:  Giova84                          |        Owner:  nobody
     Type:  bug                              |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:  R1/Package
 Keywords:  wget certificate issue           |  Management
 Blocking:                                   |   Blocked By:
 Platform:  x86                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 On Haiku i use a bash script to check new emails on Gmail, this script use
 wget to grab the feed from Gmail, and then use "notify" to notify me if
 new mail are present.
 On the current branch of Haiku it works properly, but on Haiku PM i always
 got an error when wget is running:

 {{{
 ~> wget --secure-protocol=TLSv1 --user=$usr --password=$pass
 https://mail.google.com/mail/feed/atom -O - >
 /boot/common/cache/tmp/gmail.tmp
 --2013-09-24 23:10:28--  https://mail.google.com/mail/feed/atom
 Resolving mail.google.com... 173.194.35.54, 173.194.35.53
 Connecting to mail.google.com|173.194.35.54|:443... connected.
 ERROR: cannot verify mail.google.com's certificate, issued by
 `/C=US/O=Google Inc/CN=Google Internet Authority G2':
   Unable to locally verify the issuer's authority.
 To connect to mail.google.com insecurely, use `--no-check-certificate'.
 ~>
 }}}

 Instead this is the correct process on current Haiku:

 {{{
 ~> wget --secure-protocol=TLSv1 --user=$usr --password=$pass
 https://mail.google.com/mail/feed/atom -O - >
 /boot/common/cache/tmp/gmail.tmp
 --2013-09-24 23:13:03--  https://mail.google.com/mail/feed/atom
 Resolving mail.google.com... 173.194.35.54, 173.194.35.53
 Connecting to mail.google.com|173.194.35.54|:443... connected.
 HTTP request sent, awaiting response... 401 Unauthorized
 Reusing existing connection to mail.google.com:443.
 HTTP request sent, awaiting response... 200 OK
 Length: unspecified [text/xml]
 Saving to: `STDOUT'

     [ <=>                              ] 351         --.-K/s   in 0s

 2013-09-24 23:13:03 (335 MB/s) - written to stdout [351]
 ~>
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/10016>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: