Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl: (60) SSL certificate problem: self signed certificate in certificate chain #22

Closed
razr opened this issue Jul 8, 2022 · 0 comments · Fixed by #23
Closed

curl: (60) SSL certificate problem: self signed certificate in certificate chain #22

razr opened this issue Jul 8, 2022 · 0 comments · Fixed by #23

Comments

@razr
Copy link
Collaborator

razr commented Jul 8, 2022

Build might fail if it runs inside the docker behind the firewall

make[1]: Entering directory '/work/pkg/python'
--------------------------------------------------------------------------------
Downloading
--------------------------------------------------------------------------------
cd /work/downloads; case "unpack" in svn)       echo "fetch_svn - not yet implemented" ; exit 1 ;; git)         echo "fetch_git python" ; GIT_DIR_NAME=https...www.python.org.ftp.python.3.8.0.Python-3.8.0.tgz ; mkdir -p /work/build/python; if [ ! -d /work/downloads/$GIT_DIR_NAME ] ; then cd /work/downloads && echo LANG=C git clone --bare --mirror https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz /work/downloads/$GIT_DIR_NAME --progress ; LANG=C git clone --bare --mirror https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz /work/downloads/$GIT_DIR_NAME --progress ; else cd /work/downloads/$GIT_DIR_NAME && LANG=C git fetch -f --prune --progress https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz refs/*:refs/* ; fi ;; hg)         echo "fetch_hg python" ; HG_DIR_NAME=https...www.python.org.ftp.python.3.8.0.Python-3.8.0.tgz ; mkdir -p /work/build/python; if [ ! -d /work/downloads/$HG_DIR_NAME ] ; then cd /work/downloads && echo LANG=C hg clone https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz /work/downloads/$HG_DIR_NAME ; LANG=C hg clone https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz /work/downloads/$HG_DIR_NAME ; else cd /work/downloads/$HG_DIR_NAME && LANG=C hg fetch https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; fi ;; cvs)       echo "fetch_cvs - not yet implemented" ; exit 1 ;; unpack)    echo "Fetching archive Python-3.8.0.tgz" ; if [ -n "Python-3.8.0.tgz" ] && [ ! -f /work/downloads/Python-3.8.0.tgz ] ; then case "https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz" in http://*)      echo "fetch_web Python https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz  Python-3.8.0.tgz"; if [ -f "$(which curl)" ]; then curl -L --output  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; elif [ -f "$(which wget)" ]; then wget -O  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; fi ;; https://*)   echo "fetch_web Python https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz  Python-3.8.0.tgz"; if [ -f "$(which curl)" ]; then curl -L --output  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; elif [ -f "$(which wget)" ]; then wget -O  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; fi ;; ftp://*)     echo "fetch_ftp Python https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz  Python-3.8.0.tgz"; if [ -f "$(which curl)" ]; then curl -L --output  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; elif [ -f "$(which wget)" ]; then wget -O  Python-3.8.0.tgz https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz ; fi ;; *) echo "ERROR: Unknown protocol type, can't checkout" ; exit 1 ;; esac ; fi ; sleep 1 ; if [  -f python.download ] ; then if [ `du -k python.download | cut -f 1` -le 2 ] ; then echo "Download failed, file too small" >&2 ; exit 1 ; fi ; fi ;; *) echo "ERROR: Unknown protocol type, can't checkout" ; exit 1 ;; esac
Fetching archive Python-3.8.0.tgz
fetch_web Python https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz  Python-3.8.0.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
razr added a commit to razr/vxworks7-ros2-build that referenced this issue Jul 9, 2022
@razr razr linked a pull request Jul 9, 2022 that will close this issue
@razr razr closed this as completed in #23 Jul 9, 2022
razr added a commit that referenced this issue Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant