Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
226 views
in Technique[技术] by (71.8m points)

How to configure a client certificate in IIS Server for any outgoing calls that originates FROM a site TO a https application

We have deployed a site in IIS server which connects to an external application which expects a client certificate (Client/Server Authentication)

Unfortunately since we don't have control to the source code of the site, we are unable to configure a client certificate to all outgoing calls to the specific application, as part of site's source code

So we are looking for an option to configure a client certificate in IIS server for all calls that originates FROM an iis site TO an external application


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

In fact, it cannot be configured in IIS. IIS can only configure the certificate of the inbound request, and verify the certificate with the requesting client.

As far as I know, there are two ways to give a station request to add a certificate. One is to add a custom module in IIS, which intercepts outbound requests and adds a client certificate so that the request can communicate with external sites.

Another method is to configure the certificate through code within the application. You need to add a reference to the certificate and set the request.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...