How to access the TLS Keystore information from Javascript

karlapudiravi
Participant III

Hi All,

My requirement is to call the backend system over HTTPS asynchronosly.

So i opt for Javascript to do async call to backend, but i cannot place the certificates under resources folder due to maintainability. Is there any way to access the TLS Keystore information from Javascript.

0 2 377
2 REPLIES 2

Hi,

There is no way to access TLS Keystore from javascript snippet. Only way would be to include the certificate and key in your resources folder. Also for a plain HTTPS call you dont need this, you need certificate & key only for a 2 way SSL call.

Hi @snehal chakraborty,

Here i am talking about 2 way SSL only, thanks for confirming that there is no access to TLS Keystore from javascript.