All of lore.kernel.org
 help / color / mirror / Atom feed
* Python3 and HTTPS issue
@ 2018-10-05 14:48 Marc Ferland
  2018-10-05 21:22 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Ferland @ 2018-10-05 14:48 UTC (permalink / raw)
  To: OE-core

Hi everyone,

I'm currently having a strange issue with python3 and https (using
sumo branch, commit 161eaa28ed16f93d57f3d1c4be84f894e99ab72e). Whenever
I try to connect to an https server I get:

ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
failed (_ssl.c:719)

The following python script reproduces the issue:

>>> import http.client
>>> conn = http.client.HTTPSConnection('www.python.org')
>>> conn.request('GET', '/')

Any idea? python3-certifi is correctly installed.

Marc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Python3 and HTTPS issue
  2018-10-05 14:48 Python3 and HTTPS issue Marc Ferland
@ 2018-10-05 21:22 ` Burton, Ross
  2018-10-06  1:53   ` Marc Ferland
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2018-10-05 21:22 UTC (permalink / raw)
  To: Marc Ferland; +Cc: OE-core

Did you install ca-certificates?

Ross
On Fri, 5 Oct 2018 at 15:49, Marc Ferland <ferlandm@amotus.ca> wrote:
>
> Hi everyone,
>
> I'm currently having a strange issue with python3 and https (using
> sumo branch, commit 161eaa28ed16f93d57f3d1c4be84f894e99ab72e). Whenever
> I try to connect to an https server I get:
>
> ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify
> failed (_ssl.c:719)
>
> The following python script reproduces the issue:
>
> >>> import http.client
> >>> conn = http.client.HTTPSConnection('www.python.org')
> >>> conn.request('GET', '/')
>
> Any idea? python3-certifi is correctly installed.
>
> Marc
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Python3 and HTTPS issue
  2018-10-05 21:22 ` Burton, Ross
@ 2018-10-06  1:53   ` Marc Ferland
  2018-10-08 11:52     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Ferland @ 2018-10-06  1:53 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Fri, Oct 5, 2018 at 5:22 PM Burton, Ross <ross.burton@intel.com> wrote:
>
> Did you install ca-certificates?
>

Looks like it did the trick, thanks.

Just wondering: why isn't ca-certificates not RRECOMMENDed by openssl
or maybe python3?

Marc


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Python3 and HTTPS issue
  2018-10-06  1:53   ` Marc Ferland
@ 2018-10-08 11:52     ` Burton, Ross
  2018-10-08 13:29       ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2018-10-08 11:52 UTC (permalink / raw)
  To: Marc Ferland; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

Python3 would be overkill, but the SSL libraries probably should yes.

Ross

On Sat, 6 Oct 2018 at 02:54, Marc Ferland <ferlandm@amotus.ca> wrote:

> On Fri, Oct 5, 2018 at 5:22 PM Burton, Ross <ross.burton@intel.com> wrote:
> >
> > Did you install ca-certificates?
> >
>
> Looks like it did the trick, thanks.
>
> Just wondering: why isn't ca-certificates not RRECOMMENDed by openssl
> or maybe python3?
>
> Marc
>

[-- Attachment #2: Type: text/html, Size: 792 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Python3 and HTTPS issue
  2018-10-08 11:52     ` Burton, Ross
@ 2018-10-08 13:29       ` Burton, Ross
  0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2018-10-08 13:29 UTC (permalink / raw)
  To: Marc Ferland; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

Had a change of heart and just sent a patch to add ca-certificates to the
recommends for python3-crypt.

Ross

On Mon, 8 Oct 2018 at 12:52, Burton, Ross <ross.burton@intel.com> wrote:

> Python3 would be overkill, but the SSL libraries probably should yes.
>
> Ross
>
> On Sat, 6 Oct 2018 at 02:54, Marc Ferland <ferlandm@amotus.ca> wrote:
>
>> On Fri, Oct 5, 2018 at 5:22 PM Burton, Ross <ross.burton@intel.com>
>> wrote:
>> >
>> > Did you install ca-certificates?
>> >
>>
>> Looks like it did the trick, thanks.
>>
>> Just wondering: why isn't ca-certificates not RRECOMMENDed by openssl
>> or maybe python3?
>>
>> Marc
>>
>

[-- Attachment #2: Type: text/html, Size: 1260 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-10-08 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 14:48 Python3 and HTTPS issue Marc Ferland
2018-10-05 21:22 ` Burton, Ross
2018-10-06  1:53   ` Marc Ferland
2018-10-08 11:52     ` Burton, Ross
2018-10-08 13:29       ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.