HTTP 要求: 投稿エラー: InitializeSecurityContext が失敗しました: 失効関数を ch できませんでした投稿リクエストの作成中にエラーが発生しました。返されるエラーは次のとおりです。
New HTTP Request()
POST [url]
schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
ここでの解決策はうまくいきませんでした。次のようなエラー メッセージが表示されました。ヘッダー付きの HTTP リクエスト?.
私のコードはおおよそ次のとおりです。
request = HTTPRequest(
Url(url),
Method("POST"),
Headers( {"Accept: application/json"}, {"Authorization = Bearer " }),
JSON(json)
);
なぜjslがstackoverflowにないのですか?
Re: HTTP リクエスト: 投稿エラー: InitializeSecurityContext が失敗しました: 失効関数が ch できませんでした安全でないオプションを使用できます。
request = HTTPRequest(
Url(url),
Method("POST"),
Headers( {"Accept: application/json"}, {"Authorization = Bearer " }),
JSON(json),
Insecure(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.
Re: HTTP リクエスト: 投稿エラー: InitializeSecurityContext に失敗しました: 失効機能を使用できませんでしたAuthorization トークンをヘッダーから除外したかどうかはわかりません。
あなたが持っている
「認可=ベアラー」
通常は
「承認: Bearer [およびいくつかの承認キー]」
正しく、サーバー側のセキュリティチケットに問題がある場合は、使用できます
リクエスト << 安全でない (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.