Hello, All.
I am trying to open an URL which asks for the certificate. I see the discussion URL viewtopic.php?f=6&t=10822 saying that cef client supports only OS Level certificates. I tried using OS certificates - It did not work. However in our scenario we can't ask the user/customer to install the certificate at the OS Level. so we thought of doing other alternative approach. I tried to handle this in OnLoadError. But even if we explicitly try to load, we again got into the same problem.
Also, I tried of using the APIs mentioned in viewtopic.php?f=6&t=10822. But I get the compilation error for unable to see the class - CefAllowCertificateErrorCallback and also I don't see any virtual functions defined already.
virtual bool OnCertificateError(
cef_errorcode_t cert_error,
const CefString& request_url,
CefRefPtr<CefAllowCertificateErrorCallback> callback)
{
MessageBox(GetActiveWindow(), L"An error has ocurred.", L"Certificate Error", MB_OK | MB_ICONEXCLAMATION);
return false;
}
Is this method available only for C# interface and not in C++. we are using 3.0 is it available in next revisions? Can you please help us to understand and resolve this issue
Thanks and Regards
Prasanna.