(0006334)
cowan
10-18-13 07:36
edited on: 10-18-13 07:36
|
The Arx PrivateServer documentation has this example of how to access the KeyStore using JCA and their JCA provider:
KeyStore ks = KeyStore.getInstance("JKS", "ARJCA");
ks.load(null, null);
Key pub = keyPair.getPublic();
ks.setKeyEntry(pubName, pub, passw.toCharArray(),null);
We would need to make at least 2 changes in JsseSSLFactory for this to work:
1 Provide a conf param to set the provider name
2 Skip reading the keystore from a file
Those are the 2 obvious changes. There may be others, like handling of passwords and aliases.
This change could be make to Resin's JsseSSLFactory or by extending JsseSSLFactory and supplying an alternate factory class to <port>.
|