curlコマンドを使用してLinuxシステムからhttps://ssl-failure.thousandeyes.netにアクセスすると、エラーが発生します。

curlコマンドを使用してLinuxシステムからhttps://ssl-failure.thousandeyes.netにアクセスすると、エラーが発生します。

同時に、Linux(Mac以外)システムでは、curlコマンドを使用してアクセスします。https://ssl-failure.thousandeyes.netエラーが発生します。ただし、ChromeなどのWebブラウザでこのサイトを開くとエラーが発生しないようです。これはどうですか?

ベストアンサー1

男性の場合:

  -k/--insecure
         (SSL)  This  option  explicitly allows curl to perform "insecure" SSL connections and transfers. All SSL connections are attempted to be made secure by using
         the CA certificate bundle installed by default. This makes all connections considered "insecure" fail unless -k/--insecure is used.

-kカールが「安全でない」SSL接続と転送を実行できるようにするオプションを使用して、セキュリティ(SSL)サイトにアクセスしようとしています。

curl -k 'https://ssl-failure.thousandeyes.net/'

<html>
<head>
<title>Welcome to ssl-failure.thousandeyes.net</title>
</head>
<body>
<p>Welcome to ssl-failure.thousandeyes.net.  Congratulations, you're reading the secure page</p>
</body>
</html>

おすすめ記事