R
R
RayPatrick2014-05-22 07:22:05
JavaScript
RayPatrick, 2014-05-22 07:22:05

How to send a SOAP request to a web service over HTTPS over an X509 certificate in Javascript?

Given:
- SOAP web service of the Rosreestr portal, connection to which is via HTTPS, client authentication by X509 certificate, private key algorithm - GOST R 34.11-94;
- A client machine with CryptoPro installed (a cryptographic provider containing algorithms for encryption and signing, including GOST R 34.11-94) and CadesPlugin (allows you to use CryptoPro signature and encryption functions in javascript).

It is necessary:
​​- Send a request from the client machine through the browser, i.e. from the html page, using javascript.

Is it possible? What libraries or frameworks solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Savostin, 2014-05-22
@savostin

It seems to me that you will not be able to make any SOAP request to a foreign domain due to browser restrictions (cross-domain request).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question