Is it possible to access SSL key store and trust store from Java?

Not applicable
 
1 8 1,856
8 REPLIES 8

Not applicable

The SSL variables

http://apigee.com/docs/api-services/reference/variables-reference

do not help? They have the key not the keystore - which should make your job easier.

@sriki77 I have checked the TLS variable but this is not what I am looking for.

Thanks,

Reza

Not applicable

Can you please elaborate the usecase? It will help us to understand your problem and we'll be able to suggest you better solution to achieve the same!

For example, if you are trying to make a simple https call using java callout, we suggest you to use service callout, etc.

I want to make https call to back-end with mutual ssl authenticaiton, Also I want to implement retry mechanism i.e. if connection to the back-end times out due to some reason, application has to retry for specific number of times.

Is there a way to configure service call out to retry?

@saravanan_murugesan you can not specify the retry logic in service callout. You should build this in your client app.

Not applicable

+1 to what @Archendra Yadav mentioned. You can use JavaScript policy of Apigee too.

So you want to make mutual-SSL requests with retries built in.

You can do mutual-SSL with service callout but can't do retries (you can do a bad implementation of it by placing 3 service callouts one after the other with conditions to check whether the previous one succeeded or not)

You can't do mutual-SSL with JS yet but can do retries - doesn't help...

But you can do mutual-SSL and retries in node.js.

Check this out:

http://apigee.com/docs/api-services/content/understanding-edge-support-nodejs-modules#understandings...

http://nategood.com/nodejs-ssl-client-cert-auth-api-rest

https://github.com/nategood/node-auth

@Ozan Seymen Thank you very much.