Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

net::ERR_CONNECTION_REFUSED

miro_mr
Posts: 8
Joined: Sat Mar 14, 2020 6:35 pm

Re: net::ERR_CONNECTION_REFUSED

Post 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.
miro_mr
Posts: 8
Joined: Sat Mar 14, 2020 6:35 pm

Re: net::ERR_CONNECTION_REFUSED

Post 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
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: net::ERR_CONNECTION_REFUSED

Post 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
Post Reply