Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OnSelectClientCertificate is not been called in CEF 128.0.6613.120 #532

Open
grmartins opened this issue Sep 16, 2024 · 3 comments
Open
Labels
bug upstream Issue in the CEF libraries

Comments

@grmartins
Copy link

You can reproduce the issue using the Delphi_VCL\MiniBrowser demo.
Just create a breakpoint at Chromium1SelectClientCertificate and navigate to a website that requires user certificate.
Using the same demo code with 127.0.6533.100 everything works.

Is there any workaround?
Thanks a lot.

@salvadordf
Copy link
Owner

Hi,

This is a known issue in the CEF project.

Try setting TChromiumCore.RuntimeStyle to CEF_RUNTIME_STYLE_ALLOY and test the demo in a computer with a valid client certificate. If Chromium can't find any valid certificate the event is not triggered.

Read these code comments about the TChromiumCore.RuntimeStyle property.

@salvadordf salvadordf added bug upstream Issue in the CEF libraries labels Sep 17, 2024
@grmartins
Copy link
Author

The same issue using CEF_RUNTIME_STYLE_ALLOY!
Is there anything else I can try?

Thanks

@salvadordf
Copy link
Owner

I'm sorry but this issue has to be resolved in the CEF project.

If your application requires this feature now then you will have to use CEF4Delphi 127 for the moment. Set GlobalCEFApp.ChromeRuntime to FALSE before the GlobalCEFApp.StartMainProcess call in the DPR file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug upstream Issue in the CEF libraries
Projects
None yet
Development

No branches or pull requests

2 participants