Buenas tardes.
Código:
function c_vxf5_soap.llamada_SOAP_AEAT_CONSULTA: sfPortTypeVerifactu;
begin
if NumeroSerieCertificado <> '' then
PrioInt.HTTPWebNode.ClientCertificate.SerialNum := NumeroSerieCertificado;
PrioInt.OnAfterExecute:=OnAfterExc_AEAT_COMUN;
PrioInt.OnBeforeExecute:=OnBeforeExec_AEAT_CONSULTA;
PrioInt.URL := URL_AEAT;
Result := nil;
Result := (PrioInt as sfPortTypeVerifactu);
end;
Según la documentación de Delphi
Cita:
Note: The design-time support only stores away the SerialNum of the ClientCertificate, and not the certificate itself. In other words, if you deploy the application to another machine, which does not contain the certificate selected at design time, it will be impossible, at run time, to retrieve the ClientCertificate and send it to the server.
|
Yo con mi poco inglés que tengo, entiendo que sólo funcionará con el certificado cargado en tiempo de diseño. es decir que si en tiempo de ejecución cargamos otro certificado diferente, no funcionará. ¿Es así?
Lo habéis probado ?