How to call web-api in javascript with crient certificate

I provide web service. This service is proivded by Microsoft's Internet Information Service(IIS).
I use client certificate authentication to control access from iOS.

1. Set "SSL setting - client certificate" as "required" in IIS Setting.

2. Register the trusted client certificate to iOS

3. Register the trusted client certificate registered in iOS to IIS.


I could access from iOS to web service with client certificate.

However, If javascript call web-api by XMLHttpRequest.send method,

IIS returned an error of 403.7(access is not permmited:SSL client certificate is required).


I think this behavior is safari bug that safari do not send client certificates when using XMLHttpRequest.

I have reported this issue to the bug report.


but... I'm expecting this problem will not be resolved promptly, so I'm looking for a solution.

I tried another method for example "fetch". but, It was completely the same behavior.


Please help me how to call web-api in javascript which works iOS-safari with crient certificate

How to call web-api in javascript with crient certificate
 
 
Q