chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.38k stars 467 forks source link

OnSelectClientCertificate not supported by chrome-runtime #3789

Closed jolting closed 4 weeks ago

jolting commented 2 months ago

Describe the bug OnSelectClientCertificate does not work with chrome-runtime. Now that alloy is not supported there isn't any option to enable OnSelectClientCertificate. When using chrome-runtime when visiting an mtls protected URL a certificate selection dialog appears. Previously when using alloy OnSelectClientCertificate would be called.

To Reproduce Steps to reproduce the behavior:

  1. One Windows install a client certificate in the Windows certificate store
  2. Start cefclient with the --ssl-client-certificate=<certificate subject name> option
  3. Visit a url that requests and mtls certificate.

Chrome will popup a certificate selection dialog.

Expected behavior OnSelectClientCertificate should be called and the certificate matching the certificate subject name should be used.

Versions (please complete the following information):

jolting commented 2 months ago

Does ChromeContentBrowserClientCef just need the SelectClientCertificate implementation from the former AlloyContentBrowserClient or is it more complex than that?

magreenblatt commented 1 month ago

Related PR: https://bitbucket.org/chromiumembedded/cef/pull-requests/819