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