SSL: CERTIFICATE_VERIFY_FAILED 1091 - nsurlerrordomain

I am trying to read in excel files to Pandas from the following URLs:
url = 'https://www.anac.gob.ar/anac/web/uploads/estadisticas/series-hist-ricas-anac.xlsx'
pd.read_excel(url)
I get the error:
#URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)>
How can I do it?

Related

Facing x509: certificate signed by unknown authority errVerbose=x509: certificate signed by unknown authority issuer while running the chainlink node

Running the chainlink node using docker on WSL2 ubuntu 20.04, set all the parameters, tried with both goerli and sepolia wss as well as https clients.
*[ERROR] Failed to redial RPC node; still unreachable: error while dialing websocket: wss://goerli.infura.io/ws/v3/4f1d3ea7b23644dda6a766f1d42471a5: x509: certificate signed by unknown authority client/node_lifecycle.go:369 err=error while
dialing websocket: wss://goerli.infura.io/ws/v3/4f1d3ea7b23644dda6a766f1d42471a5: x509: certificate signed by unknown authority errVerbose=x509: certificate signed by unknown authority
error while dialing websocket: wss://goerli.infura.io/ws/v3/4f1d3ea7b23644dda6a766f1d42471a5
github.com/smartcontractkit/chainlink/core/chains/evm/client.(*node).dial
/chainlink/core/chains/evm/client/node.go:263
github.com/smartcontractkit/chainlink/core/chains/evm/client.(*node).unreachableLoop
/chainlink/core/chains/evm/client/node_lifecycle.go:367
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1594 evmChainID=11155111 logger=1.11.0#150ec84.EVM.Node.Lifecycle.Unreachable node=(primary)primary-0-11155111:wss://goerli.infura.io/ws/v3/4f1d3ea7b23644dda6a766f1d42471a5 nodeName=primary-0-11155111 nodeState=Unreachable nodeTier=primary stacktrace=github.com/smartcontractkit/chainlink/core/chains/evm/client.(node).unreachableLoop
/chainlink/core/chains/evm/client/node_lifecycle.go:369

Unable to mysql2 gem on windows 11 due to SSL issues - all other gems work

I'm trying to install the mysql2 gem using RoR 8.16.0, and I keep on getting SSL errors.
I've made sure all my certs are installed correctly. I have no issues with any other gems, and I can't seem to find the problem. Pretty frustrating, as I can't get any work done without my DB.
I ran:
gem install mysql2
here is the result:
Temporarily enhancing PATH for MSYS/MINGW...
Installing required msys2 packages: mingw-w64-ucrt-x86_64-libmariadbclient
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.msys2.org : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from repo.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from repo.msys2.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from repo.msys2.org : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from repo.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from download.nus.edu.sg : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from download.nus.edu.sg : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from ftp.acc.umu.se : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from ftp.acc.umu.se : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from ftp.acc.umu.se : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from ftp.acc.umu.se, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from ftp.acc.umu.se : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from ftp.acc.umu.se : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from ftp.nluug.nl : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from ftp.nluug.nl : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from ftp.nluug.nl : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from ftp.nluug.nl, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from ftp.nluug.nl : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from ftp.nluug.nl : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from ftp.osuosl.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from ftp.osuosl.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from ftp.osuosl.org : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from ftp.osuosl.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from ftp.osuosl.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from ftp.osuosl.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.internet.asn.au : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.internet.asn.au : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.internet.asn.au : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.internet.asn.au, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.internet.asn.au : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.internet.asn.au : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.selfnet.de : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.selfnet.de : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.selfnet.de : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.selfnet.de, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.selfnet.de : SSL certificate problem: unable to get local issuer certificate
from mirrors.dotsrc.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.dotsrc.org : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.dotsrc.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.dotsrc.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.dotsrc.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.bfsu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.bfsu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.bfsu.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.bfsu.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.bfsu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.bfsu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.tuna.tsinghua.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.tuna.tsinghua.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.ustc.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.nju.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.nju.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.nju.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.nju.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.nju.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.nju.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from repo.extreme-ix.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from repo.extreme-ix.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from repo.extreme-ix.org : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from repo.extreme-ix.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from repo.extreme-ix.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from repo.extreme-ix.org : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.hit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.hit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.hit.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.hit.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.hit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.hit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.clarkson.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.clarkson.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.clarkson.edu : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.clarkson.edu, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.clarkson.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.clarkson.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from fastmirror.pp.ua : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from fastmirror.pp.ua : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from fastmirror.pp.ua : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from fastmirror.pp.ua, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from fastmirror.pp.ua : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from fastmirror.pp.ua : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from ftp.cc.uoc.gr : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from ftp.cc.uoc.gr : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from ftp.cc.uoc.gr : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from ftp.cc.uoc.gr, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from ftp.cc.uoc.gr : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from ftp.cc.uoc.gr : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.jmu.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.jmu.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.jmu.edu : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.jmu.edu, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.jmu.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.jmu.edu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.piconets.webwerks.in : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.piconets.webwerks.in : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.piconets.webwerks.in : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.piconets.webwerks.in, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.piconets.webwerks.in : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.piconets.webwerks.in : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from quantum-mirror.hu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from quantum-mirror.hu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from quantum-mirror.hu : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from quantum-mirror.hu, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from quantum-mirror.hu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from quantum-mirror.hu : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from www2.futureware.at : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from www2.futureware.at : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from www2.futureware.at : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from www2.futureware.at, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from www2.futureware.at : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from www2.futureware.at : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.sjtug.sjtu.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirrors.bit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirrors.bit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirrors.bit.edu.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirrors.bit.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirrors.bit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.bit.edu.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from repo.casualgamer.ca : SSL certificate problem: self signed certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from repo.casualgamer.ca : SSL certificate problem: self signed certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirrors.aliyun.com : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-curl-7.82.0-1-any.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from mirror.iscas.ac.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem: unable to get local issuer certificate
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
pacman failed with the following output:
resolving dependencies...
looking for conflicting packages...
Packages (18) mingw-w64-ucrt-x86_64-brotli-1.0.9-4 mingw-w64-ucrt-x86_64-c-ares-1.18.1-1 mingw-w64-ucrt-x86_64-ca-certificates-20210119-1 mingw-w64-ucrt-x86_64-curl-7.82.0-1 mingw-w64-ucrt-x86_64-jansson-2.14-2 mingw-w64-ucrt-x86_64-jemalloc-5.2.1-2 mingw-w64-ucrt-x86_64-libffi-3.3-4 mingw-w64-ucrt-x86_64-libidn2-2.3.2-1 mingw-w64-ucrt-x86_64-libpsl-0.21.1-4 mingw-w64-ucrt-x86_64-libssh2-1.10.0-1 mingw-w64-ucrt-x86_64-libtasn1-4.18.0-1 mingw-w64-ucrt-x86_64-libunistring-0.9.10-4 mingw-w64-ucrt-x86_64-libxml2-2.9.13-1 mingw-w64-ucrt-x86_64-nghttp2-1.47.0-1 mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1 mingw-w64-ucrt-x86_64-p11-kit-0.24.1-2 mingw-w64-ucrt-x86_64-xz-5.2.5-2 mingw-w64-ucrt-x86_64-libmariadbclient-3.1.13-1
Total Download Size: 11.23 MiB
Total Installed Size: 105.74 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
mingw-w64-ucrt-x86_64-openssl-1.1.1.n-1-any downloading...
mingw-w64-ucrt-x86_64-libxml2-2.9.13-1-any downloading...
mingw-w64-ucrt-x86_64-curl-7.82.0-1-any downloading...
mingw-w64-ucrt-x86_64-libunistring-0.9.10-4-any downloading...
mingw-w64-ucrt-x86_64-brotli-1.0.9-4-any downloading...
Errors occurred, no packages were upgraded.
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.4/ext/mysql2
C:/Ruby31-x64/bin/ruby.exe -I C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0 extconf.rb
checking for rb_absint_size()... yes
checking for rb_absint_singlebit_p()... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enc_interned_str() in ruby.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby31-x64/bin/$(RUBY_BASE_NAME)
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysql-config
--without-mysql-config
--with-mysqlclient-dir
--without-mysqlclient-dir
--with-mysqlclient-include
--without-mysqlclient-include=${mysqlclient-dir}/include
--with-mysqlclient-lib
--without-mysqlclient-lib=${mysqlclient-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `block in find_library': undefined method `split' for nil:NilClass (NoMethodError)
paths = paths.flat_map {|path| path.split(File::PATH_SEPARATOR)}
^^^^^^
from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `each'
from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `flat_map'
from C:/Ruby31-x64/lib/ruby/3.1.0/mkmf.rb:1086:in `find_library'
from extconf.rb:103:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.4/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.4 for inspection.
Results logged to C:/Ruby31-x64/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/mysql2-0.5.4/gem_make.out
I would really appreciate some help!
Thanks in Advance!
I finally figured it out. There were 2 issues:
I'm using a company certificate that I originally installed in ruby & rubygems dir. Apparently, that was enough for all the other gems I installed. As per this post, I also needed to install the cert in the mingw cert dir, by copying the cert to C:\Ruby-x64\msys64\usr\ssl\certs\ca-bundle.crt. For some reason, this affected the mysql2 gem.
As per the mysql2 gem, according to this answer, (the part that discusses mysql2 gem specifically), running gem install mysql2 was not enough. I had to run
gem install mysql2 -- '--with-mysql-lib="c:\Program Files\MySQL\MySQL
Server 8.0\lib" --with-mysql-include="c:\Program Files\MySQL\MySQL Server
8.0\include"'
Whew!

Integration between Kiwi TCMS and GitLab

I've got a problem with my certificate for GitLab Integration with Kiwi TCMS. I mount my own certificate file under /Kiwi/ssl/localhost.crt
I am trying to Report bug in my TestRun and I get this message:
Internal error: HTTPSConnectionPool(host='gitlab.rosatom.local', port=443): Max retries exceeded with url: /api/v4/projects/platforms%2Fdocgen%2Fdocgenmanager2.0-frontend.git (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)')))

Installing cosmos db emulator SSL certificate in docker redhat/kafka-connect container

I did the setup of the Cosmos DB emulator on the local machine, and started with the following parameters:
/port=443 /AllowNetworkAccess /Key=<CosmosPrimaryKey>
And currently, it is accessible via https://<LocalMachineIP>/
When I tried to make a curl request from the docker Redhat container (using docker image: confluentinc/cp-kafka-connect) it throws the below error:
curl: (60) SSL certificate problem: self signed certificate
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.
And when trying to crate cosmos DB source connector it throws the below error:
[20 10:37:45,018] ERROR Client initialization failed. Check if the endpoint is reachable and if your auth token is valid. More info: https://aka.ms/cosmosdb-tsg-service-unavailable-java (com.azure.cosmos.implementation.RxDocumentClientImpl)
[2022-05-20 10:37:45,079] ERROR unexpected failure in initializing client. (com.azure.cosmos.implementation.RxDocumentClientImpl)
java.lang.RuntimeException: Client initialization failed. Check if the endpoint is reachable and if your auth token is valid. More info: https://aka.ms/cosmosdb-tsg-service-unavailable-java
at com.azure.cosmos.implementation.RxDocumentClientImpl.initializeGatewayConfigurationReader(RxDocumentClientImpl.java:401)
.......
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
[2022-05-20 10:37:45,095] WARN [8e2a220b, L:/172.25.0.6:57076 ! R:/192.168.154.131:443] The connection observed an error (reactor.netty.http.client.HttpClientConnect)
shaded.io.netty.handler.codec.DecoderException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at shaded.io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:477)
..........
at shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
at shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
.........
at shaded.io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1283)
at shaded.io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507)
at shaded.io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446)
... 17 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
.....................
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1335)
... 31 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 37 more
I have exported the cosmos emulator .cer file using this article.
How to install it in the Docker container "kafka-connect"?
Can you post your curl request?
You need to use the -k flag to denote that it’s insecure.
curl -k https://{emulatoripaddr}:8081/_explorer/emulator.pem > emulatorcert.crt
It needs to be .crt
Then copy it to
/usr/local/share/ca-certificates/
Then install it
update-ca-certificates
Additionally you can mount a volume to the cosmos folder and save the .pem manually… /tmp/cosmos/appdata

Create & Join Channel in Hyperledger Fabric Build your First Network Walk Through

I am trying create a channel according to documentation
Hyperledger Fabric v1.0 docs
Have an issue with certificate. On the docker "hyperledger/fabric-tools" node I can find certificate with current name - tlsca.example.com. But the channel cannot be created. I have certificate hand shake issue. Should I check/mount certificate to the peer node ?
root#4b6423da537b:/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com# peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls $CORE_PEER_TLS_ENABLED --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
2017-07-27 16:49:58.949 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2017-07-27 16:49:58.949 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2017-07-27 16:49:58.954 UTC [grpc] Printf -> DEBU 003 Failed to dial orderer.example.com:7050: connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"; please retry.
Error: Error connecting due to rpc error: code = Internal desc = connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"
Usage:
Thanks.
i meet the same problem. And run this command to close the network.
./network_setup.sh down mychannel
The reason that cause my problem is that the source code exists a error. So i modify this code error and reopen the network. This problem work out.
It would seem that you are in the incorrect working directory. When running the sample manually, you start the cli container and it places you in the /opt/gopath/src/github.com/hyperledger/fabric/peer directory. That is where you should be running the peer command. It would seem from your post that you were running the peer command in the /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com directory in the container, and it is not finding the configuration files that were mounted for the example.

Resources