Skip to contentSkip to conversation

Working behind a Palo Alto firewall/proxy

DISCUSSION Greg Wilson-Lindberg 4 participants 7 messages Sep 6, 2017 – Sep 7, 2017

lore
Share & tools
lore
#0 lore raw

Hi List,
Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Any suggestions would be appreciated.

Greg Wilson-Lindberg
Sakura Finetek
310-783-5075

#1 lore raw
Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?

#2 lore raw

Hi Andre,

Here is the complete error output:

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-9ReQWXYEk1"; export SSH_AUTH_SOCK="/run/user/1000/keyring-4PGABB/ssh"; export PATH="/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/raspberrypi3/usr/bin/crossscripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake/bin:/home/gwilson/TEE:/home/gwilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/microchip/xc32/v1.34/bin:/home/gwilson/RPi3/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin"; export HOME="/home/gwilson"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror http://codereview.qt-project.org/qt/qtdeviceutilities /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities --progress failed with exit code 128, output:
Cloning into bare repository '/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities'...
fatal: unable to access 'https://codereview.qt-project.org/qt/qtdeviceutilities/': server certificate verification failed. CAfile: /usr/share/ca-certificates/cert_Decryption-Certificate.pem CRLfile: none

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher failure for URL: 'git://codereview.qt-project.org/qt/qtdeviceutilities;nobranch=1;protocol=http'. Unable to fetch URL from any source.
ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtdeviceutilities/5.9.1+gitAUTOINC+48fb704e64-r0/temp/log.do_fetch.8128
ERROR: Task (/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb:do_fetch) failed with exit code '1'

So it looks like:

qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch

is what's running.

________________________________
From: Andre McCurdy <[email protected]>
Sent: Wednesday, September 6, 2017 6:34:07 PM
To: Greg Wilson-Lindberg
Cc: [email protected]
Subject: Re: [yocto] Working behind a Palo Alto firewall/proxy

Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?

#3 lore raw

I've had a customer with a similar problem. The way they resolved it was to download the certification from their proxy and add it to their system as a known certificate.

Sorry I don't have any more details then that, but maybe that can spark someone who knows the actual steps to be able to comment.

--Mark

Quoted 67 lines · Greg Wilson-Lindberg

Hi Andre,

Here is the complete error output:

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-9ReQWXYEk1"; export
SSH_AUTH_SOCK="/run/user/1000/keyring-4PGABB/ssh"; export PATH="/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/raspberrypi3/usr/bin/crossscripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake/bin:/home/gwilson/TEE:/home/gwilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/microchip/xc32/v1.34/bin:/home/gwilson/RPi3/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin"; export HOME="/home/gwilson"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare
--mirror http://codereview.qt-project.org/qt/qtdeviceutilities
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities
--progress failed with exit code 128, output:
Cloning into bare repository
'/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities'...
fatal: unable to access
'https://codereview.qt-project.org/qt/qtdeviceutilities/': server certificate
verification failed. CAfile:
/usr/share/ca-certificates/cert_Decryption-Certificate.pem CRLfile: none

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure for URL:
'git://codereview.qt-project.org/qt/qtdeviceutilities;nobranch=1;protocol=http'.
Unable to fetch URL from any source.
ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Function
failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtdeviceutilities/5.9.1+gitAUTOINC+48fb704e64-r0/temp/log.do_fetch.8128
ERROR: Task
(/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb:do_fetch)
failed with exit code '1'

So it looks like:

qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch

is what's running.

--------------------------------------------------------------------------------
*From:* Andre McCurdy <[email protected]>
*Sent:* Wednesday, September 6, 2017 6:34:07 PM
*To:* Greg Wilson-Lindberg
*Cc:* [email protected]
*Subject:* Re: [yocto] Working behind a Palo Alto firewall/proxy

Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?

#4 lore raw

you can try adding following to ~/.gitconfig

[http]
sslverify = false

Quoted 83 lines · Mark Hatle

I've had a customer with a similar problem. The way they resolved it was to download the certification from their proxy and add it to their system as a known certificate.

Sorry I don't have any more details then that, but maybe that can spark someone who knows the actual steps to be able to comment.

--Mark

Quoted 58 lines · Greg Wilson-Lindberg

Hi Andre,

Here is the complete error output:

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-9ReQWXYEk1"; export
SSH_AUTH_SOCK="/run/user/1000/keyring-4PGABB/ssh"; export PATH="/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/raspberrypi3/usr/bin/crossscripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake/bin:/home/gwilson/TEE:/home/gwilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/microchip/xc32/v1.34/bin:/home/gwilson/RPi3/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin"; export HOME="/home/gwilson"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare
--mirror http://codereview.qt-project.org/qt/qtdeviceutilities
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities
--progress failed with exit code 128, output:
Cloning into bare repository
'/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities'...
fatal: unable to access
'https://codereview.qt-project.org/qt/qtdeviceutilities/': server certificate
verification failed. CAfile:
/usr/share/ca-certificates/cert_Decryption-Certificate.pem CRLfile: none

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure for URL:
'git://codereview.qt-project.org/qt/qtdeviceutilities;nobranch=1;protocol=http'.
Unable to fetch URL from any source.
ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Function
failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtdeviceutilities/5.9.1+gitAUTOINC+48fb704e64-r0/temp/log.do_fetch.8128
ERROR: Task
(/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb:do_fetch)
failed with exit code '1'

So it looks like:

qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch

is what's running.

--------------------------------------------------------------------------------
*From:* Andre McCurdy <[email protected]>
*Sent:* Wednesday, September 6, 2017 6:34:07 PM
*To:* Greg Wilson-Lindberg
*Cc:* [email protected]
*Subject:* Re: [yocto] Working behind a Palo Alto firewall/proxy

Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 9 lines
Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#5 lore raw

That did the trick,
Thanks,
Greg

Quoted 133 lines

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, September 07, 2017 9:52 AM
To: Mark Hatle <[email protected]>
Cc: Greg Wilson-Lindberg <[email protected]>; Andre McCurdy <[email protected]>; [email protected]
Subject: Re: [yocto] Working behind a Palo Alto firewall/proxy

you can try adding following to ~/.gitconfig

[http]
sslverify = false

Quoted 4 lines · Mark Hatle

I've had a customer with a similar problem. The way they resolved it was to download the certification from their proxy and add it to their system as a known certificate.

Quoted 15 lines

Sorry I don't have any more details then that, but maybe that can spark someone who knows the actual steps to be able to comment.

--Mark

Quoted 9 lines · Greg Wilson-Lindberg

Hi Andre,

Here is the complete error output:

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch:
Fetcher
failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-

9ReQWXYEk1"; export

Quoted 2 lines
Quoted 2 lines

SSH_AUTH_SOCK="/run/user/1000/keyring-4PGABB/ssh"; export PATH="/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-

raspberrypi3/tmp/sy

Quoted 4 lines
Quoted 4 lines

sroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/bui ld-raspberrypi3/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/gwi lson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5. 9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/b

Quoted 8 lines
Quoted 8 lines

in/arm-poky-linux-gnueabi:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build -raspberrypi3/tmp/sysroots/raspberrypi3/usr/bin/crossscripts:/home/gw ilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64- linux/usr/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberryp i3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build -RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/sbin:/home/gwilson /Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux /bin:/home/gwilson/Qt-5.9/Yocto-build-

RPi3/sources/poky/scripts:/home

Quoted 4 lines
Quoted 4 lines

/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake/bin:/home/gwils on/TEE:/home/gwilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/us r/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/microchip/xc32/v1.3 4/bin:/home/gwilson/RPi3/tools/arm-bcm2708/gcc-linaro-arm-linux-

gnuea

Quoted 8 lines
Quoted 8 lines

bihf-raspbian-x64/bin"; export HOME="/home/gwilson"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror
http://codereview.qt-project.org/qt/qtdeviceutilities
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads /git2/codereview.qt-project.org.qt.qtdeviceutilities --progress failed with exit code 128, output:
Cloning into bare repository '/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-

raspberrypi3/../downloads/git2/codereview.qt- project.org.qt.qtdeviceutilities'...

Quoted 9 lines
Quoted 9 lines

fatal: unable to access 'https://codereview.qt-project.org/qt/qtdeviceutilities/': server certificate verification failed. CAfile:
/usr/share/ca-certificates/cert_Decryption-Certificate.pem CRLfile:
none

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch:
Fetcher failure for URL:
'git://codereview.qt-

project.org/qt/qtdeviceutilities;nobranch=1;protocol=http'.

Quoted 6 lines
Quoted 6 lines

Unable to fetch URL from any source.
ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch:
Function
failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-

raspberrypi3/tmp/work/cor

Quoted 4 lines
Quoted 4 lines

texa7hf-neon-vfpv4-poky-linux-gnueabi/qtdeviceutilities/5.9.1+gitAUTO INC+48fb704e64-r0/temp/log.do_fetch.8128
ERROR: Task (/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/recipes-

q

Quoted 29 lines
Quoted 29 lines

t/qt5/qtdeviceutilities.bb:do_fetch)
failed with exit code '1'

So it looks like:

qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch

is what's running.

---------------------------------------------------------------------
-----------
*From:* Andre McCurdy <[email protected]>
*Sent:* Wednesday, September 6, 2017 6:34:07 PM
*To:* Greg Wilson-Lindberg
*Cc:* [email protected]
*Subject:* Re: [yocto] Working behind a Palo Alto firewall/proxy

Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being

downloaded from.

Quoted 11 lines
Quoted 5 lines

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#6 lore raw
In reply to Mark Hatle

Hi Mark,

Unfortunately, in this case the certificate has already been added to the system, necessary to get https working.

Greg

________________________________
From: Mark Hatle <[email protected]>
Sent: Thursday, September 7, 2017 9:31:02 AM
To: Greg Wilson-Lindberg; Andre McCurdy
Cc: [email protected]
Subject: Re: [yocto] Working behind a Palo Alto firewall/proxy

I've had a customer with a similar problem. The way they resolved it was to download the certification from their proxy and add it to their system as a known certificate.

Sorry I don't have any more details then that, but maybe that can spark someone who knows the actual steps to be able to comment.

--Mark

Quoted 67 lines · Greg Wilson-Lindberg

Hi Andre,

Here is the complete error output:

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-9ReQWXYEk1"; export
SSH_AUTH_SOCK="/run/user/1000/keyring-4PGABB/ssh"; export PATH="/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/raspberrypi3/usr/bin/crossscripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/usr/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/sbin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/sysroots/x86_64-linux/bin:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/scripts:/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/poky/bitbake/bin:/home/gwilson/TEE:/home/gwilson/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/microchip/xc32/v1.34/bin:/home/gwilson/RPi3/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin"; export HOME="/home/gwilson"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare
--mirror http://codereview.qt-project.org/qt/qtdeviceutilities
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities
--progress failed with exit code 128, output:
Cloning into bare repository
'/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/../downloads/git2/codereview.qt-project.org.qt.qtdeviceutilities'...
fatal: unable to access
'https://codereview.qt-project.org/qt/qtdeviceutilities/': server certificate
verification failed. CAfile:
/usr/share/ca-certificates/cert_Decryption-Certificate.pem CRLfile: none

ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Fetcher
failure for URL:
'git://codereview.qt-project.org/qt/qtdeviceutilities;nobranch=1;protocol=http'.
Unable to fetch URL from any source.
ERROR: qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch: Function
failed: base_do_fetch
ERROR: Logfile of failure stored in:
/home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/qtdeviceutilities/5.9.1+gitAUTOINC+48fb704e64-r0/temp/log.do_fetch.8128
ERROR: Task
(/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-boot2qt/recipes-qt/qt5/qtdeviceutilities.bb:do_fetch)
failed with exit code '1'

So it looks like:

qtdeviceutilities-5.9.1+gitAUTOINC+48fb704e64-r0 do_fetch

is what's running.

--------------------------------------------------------------------------------
*From:* Andre McCurdy <[email protected]>
*Sent:* Wednesday, September 6, 2017 6:34:07 PM
*To:* Greg Wilson-Lindberg
*Cc:* [email protected]
*Subject:* Re: [yocto] Working behind a Palo Alto firewall/proxy

Quoted 8 lines · Greg Wilson-Lindberg

Hi List,

Does anybody have any experience trying to run Yocto behind a Palo Alto firewall. The Palo Alto firewall basically works as a Man in the Middle system, it hands out its own certificate to boxes behind it and then decrypts and re-encrypts traffic going through it. The Palo Alto box is supposed to act as a transparent Proxy.

Quoted 4 lines

I'm getting an error that the 'server certificate verification failed' about an hour into a yocto build. The certificate that the Palo Alto box is sending to my system is self-signed so will fail if checked for a valid root CA, and also is not from whatever site is being downloaded from.

Which site is being downloaded from and at which point in the build (ie which recipe and task) ?