Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Is It possible to configure SSL Information using Java Script in .js file

Not applicable

To hit a service which is https we need to set the below information in the TargetEndpoint

<SSLInfo> <Enabled>true</Enabled> <ClientAuthEnabled>true</ClientAuthEnabled> <KeyStore>myKeystore</KeyStore> <KeyAlias>myKey</KeyAlias> </SSLInfo>

Now I want to hit the service using get() method in my .js(JavaScript) resource

for example:

httpClient.get("https://www.example.com");

Because my backend is using https I want to configure my ssl information using Javascript (In my .js file)

Is it possible to set the KeyStore and KeyAlias using Java Script.If it is yes then please let me know how can we achieve that

0 6 2,052
6 REPLIES 6