I'm writing a web application and I need to use an existing webservice.
This webservice uses a wsHttpBinding
and x509 certificate.
I looked all over the web but didn't find a working solution.
Can someone help me with this one?
I'm writing a web application and I need to use an existing webservice.
This webservice uses a wsHttpBinding
and x509 certificate.
I looked all over the web but didn't find a working solution.
Can someone help me with this one?
The choice of client certificate will be made by the browser when it makes the connection. JavaScript and jQuery don't have much say on this.
You can configure Firefox (for example) to ask you which certificate to pick or to choose one automatically (Preferences -> Advanced -> Encryption -> Certificates). This may trigger a pop-up window from the browser if you select "always ask", but this isn't accessible from JavaScript.
The client certificates you're going to use (and their private keys) will need be available to the browser first.