나는 Eway legacy Api를 연결하기 위해 nusoap을 사용하고 있습니다. 갑자기 Eway가 TLS 1.2를 시행합니다. 그래서 내 서버에서 열린 SSL 1.0과 TLS 1.2를 설정했습니다.nusoap을 사용할 때 TLS 1.2를 시행 할 수 있습니까?
그 서버에서 나는 잘 작동하는 Eway rapid api를 연결하고 있습니다. 레거시 및 Rapid API 모두 TLS 1.2가 필요하며 rapid은 잘 작동하고 있으므로 서버 설정이 정상입니다. 하지만이 기존 API는 제대로 작동하지 않습니다.
nusoap을 사용하여 Eway 레거시 API를 연결할 때 코드로 TLS 1.2를 시행해야합니다.
코드 예제 -
<?php
$client = new nusoap_client("https://www.eway.com.au/gateway/rebill/manageRebill.asmx");
$client->namespaces['man'] = 'http://www.eway.com.au/gateway/rebill/manageRebill';
$headers = "<man:eWAYHeader><man:eWAYCustomerID>****</man:eWAYCustomerID><man:Username>****</man:Username><man:Password>****</man:Password></man:eWAYHeader>";
$client->setHeaders($headers);
$requestbody = array();
$soapactionUrl = 'http://www.eway.com.au/gateway/rebill/manageRebill/';
$requestbody['man:RebillCustomerID'] = $eway_rebill_customer_id;
$requestbody['man:RebillID'] = $eway_rebill_id;
$soapaction = 'QueryRebillEvent';
$client = $this->_creatEwayRebillRequestHeader();
$result = $client->call('man:'.$soapaction, $requestbody, '', $soapactionUrl.$soapaction,true);
$err_msg = $client->getError();
echo $err_msg;
?>
내가 무엇입니까 어떤 오류 마사지입니다 - 나는 또한 eway 지원 팀은 또한에 TLS 1.2을 적용하라고 내 자격 증명에 대한 확신
wsdl error: Getting
https://www.eway.com.au/gateway/rebill/manageRebill.asmx
- HTTP ERROR: Unsupported HTTP response status 403 Forbidden (soapclient->response has contents of the response)
문제를 해결하십시오. 그러나 nusoap 라이브러리에 TLS 1.2를 적용하는 방법을 알지 못합니다.
@machavity - 이것은 중복 된 문제가 아닙니다. 나는 논점에 직면하고 있습니다. 그리고 오래된 질문과 해결책은 비누입니다. – mayan1010
흠. 분명히 그렇지 않습니다. 이상한 사람은 NuSOAP을 말한 다음 PHP SOAP을 사용합니다. 어쨌든, 이것에 파고 들자 나는 명백한 대답을 발견했다 – Machavity