hello,

I'm looking for a way to determine the filenames of the cert/key-file
on the service-side. These usually are 
/etc/grid-security/container{cert,key}.pem,
but I rather do not want to rely on the files being there, but rather
want to retrieve this information programmatically.

So far, I've found some SecurityDescriptors, and there's even a 
ServiceSecurityDescriptor,
offering getProxyFilename(), getCertFilename() and getKeyFilename(), but these
seem to be information only about how the service was configured, and not
about which service-side security-files are actually in use.

I've also found 
SecurityManager.getManager().getSystemSubject().getPrivateCredentials(),
but I'm afraid I rather can't use this: there are no related PublicCredentials,
and does not contain information about the container-files, too.

I'm beginning to wonder if this information is present at all .... ?

kind regards,
H.Rosmanith

Reply via email to