こんな感じのメッセージが出るとき。
1 2 3 4 5 6 7 8 9 |
[root@localhost rpm-gpg]# yum -y install mssql-server 読み込んだプラグイン:fastestmirror https://packages.microsoft.com/rhel/7/mssql-server-2017/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's Certificate issuer is not recognized." 他のミラーを試します。 It was impossible to connect to the CentOS servers. This could mean a connectivity issue in your environment, such as the requirement to configure a proxy, or a transparent proxy that tampers with TLS security, or an incorrect system clock. Please collect information about the specific failure that occurs in your environment, using the instructions in: https://access.redhat.com/solutions/1527033 and create a bug on https://bugs.centos.org/ |
repoファイルに「sslverify=0」を追記しちゃう。
1 2 3 4 5 6 7 8 9 |
[root@localhost ~]# cat /etc/yum.repos.d/mssql-server.repo [packages-microsoft-com-mssql-server-2017] name=packages-microsoft-com-mssql-server-2017 baseurl=https://packages.microsoft.com/rhel/7/mssql-server-2017/ enabled=1 gpgcheck=1 gpgkey=https://packages.microsoft.com/keys/microsoft.asc #gpgkey=file:///etc/pki/rpm-gpg/microsoft.asc/ sslverify=0 |