HTTP 요청: 게시 오류: InitializeSecurityContext 실패: 해지 기능이 채널을 만들 수 없습니다.게시 요청을 생성하는 중에 오류가 발생했습니다. 반환된 오류는 다음과 같습니다.
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)
);
stackoverflow에 jsl이 없는 이유는 무엇입니까?
Re: HTTP 요청: 게시 오류: InitializeSecurityContext 실패: 해지 기능을 채널화할 수 없습니다.안전하지 않은 옵션을 사용할 수 있습니다.
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 토큰을 남겨 두었는지 확실하지 않습니다.
당신은
"권한 부여 = 무기명"
보통은
"인증: 전달자 [및 일부 인증 키]"
정확하고 서버 측 보안 티켓에 문제가 있는 경우 다음을 사용할 수 있습니다.
요청 << 안전하지 않음 (1)
다음과 같이 작동합니다.
curl 맨페이지에서
-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.