Ver Mensaje Individual
  #3458  
Antiguo 07-11-2022
Avatar de HerensugeBeltz
HerensugeBeltz HerensugeBeltz is offline
Miembro
 
Registrado: may 2021
Ubicación: Hondarribia
Posts: 88
Reputación: 3
HerensugeBeltz Va por buen camino
Envío a Gipuzkoa con SecureBlackBox 2020

Hola Keys,

Nosotros no tenemos problemas con el envío a Gipuzkoa. El componente lo tenemos configurado así (C++ Builder):

Código:
sbxHTTPClient1->TLSAutoValidateCertificates = true; 
		sbxHTTPClient1->TLSVersions = TsbxConstants::csbTLS12;
		sbxHTTPClient1->ReqParamsContentType = L"application/xml;charset=UTF-8";
		sbxHTTPClient1->ReqParamsAcceptCharset = L"UTF-8";
		sbxHTTPClient1->ReqParamsAccept = L"*/*";
		sbxHTTPClient1->ReqParamsHTTPVersion =
				TsbxHTTPClientReqParamsHTTPVersions::chvHTTP11;
		sbxHTTPClient1->TLSRenegotiationAttackPreventionMode =
				TsbxHTTPClientTLSRenegotiationAttackPreventionModes::crapmAuto;
		sbxHTTPClient1->Config(L"UseSystemCertificates=true");
En el envío diferimos, nosotros hacemos:
Código:
sbxHTTPClient1->PostBytes(endPoint, fileStream);
pero entiendo que eso no debería influir.

Previamente, al componente sbxHTTPClient1 le hemos asociado un certificado digital:
Código:
sbxHTTPClient1->ClientCertCount = 1; 
		sbxHTTPClient1->ClientCertHandle[0] =
				sbxCertStore->CertHandle[m_ndxCertificadoSeleccionado];
Espero que te sirva.
Responder Con Cita