当在新克隆的存储库( ./bootstrap )中运行https://github.com/coreutils/coreutils时,它似乎要么找不到它想要找到的文件,要么不信任https://translationproject.org。
./bootstrap: Bootstrapping from checked-out coreutils sources...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: getting gnulib files...
Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path 'gnulib'
Cloning into '/home/vagrant/coreutils/gnulib'...
Submodule path 'gnulib': checked out '0ac98783691bbf8212537ebe18ddb68feb22a760'
./bootstrap: getting translations into po/.reference for coreutils...
ERROR: The certificate of 'translationproject.org' is not trusted.
ERROR: The certificate of 'translationproject.org' has expired.那么,我要做些什么来使证书被我的系统信任并成功地编译呢?
发布于 2022-01-26 20:40:25
首先,要获得证书:
wget --mirror --level=1 -nd -v -A.po -P 'po/.reference' https://translationproject.org/latest/coreutils/然后使证书可信:
( a)请openssl信任:
openssl s_client -connect translationproject.org:443 -CApath /etc/ssl/certs -showcerts </dev/null 2>/dev/null( b)要求证书工具信任
certtool --verbose --verify --infile=/tmp/translationproject.org.certs最后,您可以成功地使用./bootstrap。
https://stackoverflow.com/questions/70869800
复制相似问题