You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/05/29 12:56:29 UTC

[apisix] 04/12: ci: ignore releases.hashicorp.com's new certificate which can't be verified in CentOS7 (#7134)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch release/2.13
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit d912150cfc1cab65f6b29ff34a66eb817b230c2b
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Thu May 26 10:40:55 2022 +0800

    ci: ignore releases.hashicorp.com's new certificate which can't be verified in CentOS7 (#7134)
    
    Signed-off-by: spacewander <sp...@gmail.com>
---
 ci/common.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ci/common.sh b/ci/common.sh
index fd5575c0f..f26e7125c 100644
--- a/ci/common.sh
+++ b/ci/common.sh
@@ -63,7 +63,9 @@ install_grpcurl () {
 
 install_vault_cli () {
     VAULT_VERSION="1.9.0"
-    wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip
+    # the certificate can't be verified in CentOS7, see
+    # https://blog.devgenius.io/lets-encrypt-change-affects-openssl-1-0-x-and-centos-7-49bd66016af3
+    wget --no-check-certificate https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip
     unzip vault_${VAULT_VERSION}_linux_amd64.zip && mv ./vault /usr/local/bin
 }