株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

こんな感じのメッセージが出るとき。

[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」を追記しちゃう。

[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

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)