S32G2 Linux BSP 33.0: SSL: CERTIFICATE_VERIFY_FAILED while doing repo init for bsp 33.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G2 Linux BSP 33.0: SSL: CERTIFICATE_VERIFY_FAILED while doing repo init for bsp 33.0

719 Views
SSyb
Contributor III

I am trying to follow the Linux BSP 33.0 User Manual for S32G2 platforms  document to build the S32G2 board support package, under Ubuntu Linux 18.04, as suggested in the manual.

I am behind a proxy, but I have cntlm running and the proxy is anounced to the system.

I installed python 2.7 (as suggested in the anual), but python 3.6 was also there by default.

I repeatedly get an SSL CERTIFICATE error when trying to init the repo:

 

>> repo init  -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/bsp33.
Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'

 

 

I have googled up and and down and tried all the things below, but nothing worked.

Any hints what is going wrong ?

best regards,

Stefan

 

--------------------

Things I tried:

sudo apt-get update

sudo apt-get upgrade

 

sudo apt-get install python-pip

pip install --upgrade certifi

sudo apt-get install python3-pip

Pip3 install --upgrade certifi

sudo apt install ca-certificates
sudo update-ca-certificates --fresh
Export SSL_CERT_DIR=/etc/ssl/certs

sudo git config --system http.sslCAPath /etc/ssl/certs

0 Replies