Change Certificate in Application
Posted: Sat Sep 21, 2019 10:51 pm
Hi all,
I am getting to change a certificate in "OnSelectClientCertificate" event
I need to change certificate some times along the application execution. I destroy TChromiun but it's inssuficient, the event "OnSelectClientCertificate" is fired one time only. It's necesary reset the application.
What can I do?
Thanks
I am getting to change a certificate in "OnSelectClientCertificate" event
It's ok.procedure TBuscaAutDespacho.chr1SelectClientCertificate(Sender: TObject;
const browser: ICefBrowser; isProxy: Boolean; const host: ustring;
port: Integer; certificatesCount: Cardinal;
const certificates: TCefX509CertificateArray;
const callback: ICefSelectClientCertificateCallback; var aResult: Boolean);
begin
aresult:=true;
callback.Select(certificates[myCertIndex]);
end;
I need to change certificate some times along the application execution. I destroy TChromiun but it's inssuficient, the event "OnSelectClientCertificate" is fired one time only. It's necesary reset the application.
What can I do?
Thanks