Page 2 of 2

Re: net::ERR_CONNECTION_REFUSED

Posted: Tue Mar 17, 2020 7:03 pm
by miro_mr
Not the certificate selection is the winforms application signing application that wss calls to the browser.
(the browser calls WSS and it starts the signing application)
My problem is that browser -> wss call.

Re: net::ERR_CONNECTION_REFUSED

Posted: Tue Mar 17, 2020 7:05 pm
by miro_mr
don't you have an example to use the TChromium.OnSelectClientCertificate event?
Wss service uses certificates where the root certificate is stored as trusted in the system windows store

Re: net::ERR_CONNECTION_REFUSED

Posted: Wed Mar 18, 2020 7:53 am
by salvadordf
No, sorry.

That event has these code comments :

Code: Select all

  ///
  // Called on the UI thread when a client certificate is being requested for
  // authentication. Return false (0) to use the default behavior and
  // automatically select the first certificate available. Return true (1) and
  // call cef_select_client_certificate_callback_t::Select either in this
  // function or at a later time to select a certificate. Do not call Select or
  // call it with NULL to continue without using any certificate. |isProxy|
  // indicates whether the host is an HTTPS proxy or the origin server. |host|
  // and |port| contains the hostname and port of the SSL server. |certificates|
  // is the list of certificates to choose from; this list has already been
  // pruned by Chromium so that it only contains certificates from issuers that
  // the server trusts.
  ///
https://magpcss.org/ceforum/apidocs3/pr ... llback%3E)

The callback.select method has these comments :

Code: Select all

  ///
  // Chooses the specified certificate for client certificate authentication.
  // NULL value means that no client certificate should be used.
  ///
https://magpcss.org/ceforum/apidocs3/pr ... lback.html