Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

SSLFilterFactory and keystore paths

Hi,

I have a question about SSLFilterFactory and keystore paths. I am using the three system properties described here in order to encrypt communications between GS client and server:

http://www.gigaspaces.com/wiki/display/XAP66/SSLEncryptionSupport

It seems that SSLFilterFactory.createSSLContext() or SSLFilterFactory.loadKeyStore() is changing the path that I have specified into what looks like some kind of default path. Are there limitations or restrictions over what constitutes a legal keystore path?

What would cause my specified keystore path to be converted into ./working_directory/keystore ??

thanks,

-dave

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2009-05-08 13:02:02 -0500

jazzbutcher gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The files are loaded from the classpath, you'll need to update the classpath to contain your keystore location.

Eitan

answered 2009-05-08 14:22:22 -0500

eitany gravatar image
edit flag offensive delete link more

Comments

Yes, I did that already. The path is in the classpath. I don't believe that is the reason the path is changing in one of these methods. Can someone look at the source code and tell me what would cause this?

thanks,

-dave

jazzbutcher gravatar imagejazzbutcher ( 2009-05-08 14:31:36 -0500 )edit

I've looked at the source code, that's why I answered that.

You can try to increase the logging level of this logger: com.gigaspaces.common.resourceloader. Maybe you can understand what is going exactly with your specified path.

What is the path string you are setting in the system property?

Eitan

eitany gravatar imageeitany ( 2009-05-08 14:38:16 -0500 )edit

The issue seems to be that the Eclipse RCP framework is giving me a path that seems to mix unix-isms with Windows-isms and the result is not a valid path according to Java under Windows. Editing the path slightly fixes the problem and GS continues merrily on its way... I will file a bug about the Eclipse URL/file-path issue.

thanks,

-dave

jazzbutcher gravatar imagejazzbutcher ( 2009-05-11 09:37:20 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-05-08 13:02:02 -0500

Seen: 20 times

Last updated: May 08 '09