#include <SSLContextProperties.h>
Public Member Functions | |
SSLContextProperties () throw (RGMAException) | |
bool | useCertificateAndKey () const |
std::string | gridProxyFile () const |
std::string | sslCAFiles () const |
std::string | sslCertFile () const |
std::string | sslKey () const |
bool | sslKeyPasswordPresent (std::string &value) const |
|
This class handles the SSL context properties. These are read from a properties file specified by the environment variable TRUSTFILE. If the environment variable/file doesn't exist then the grid proxy file is used, and its definition is taken from the environment variable X509_USER_PROXY. It contains properties in the usual format: property=value The properties recognised are: gridProxyFile - where the grid proxy file is located. If TRUSTFILE absent, then environment variable X509_USER_PROXY replaces the property. sslCAFiles - where the CA certificates are located. Default is /etc/grid-security sslCertFile - The SSL certificate file name. sslKey - The SSL key file name. sslKeyPassword - The passphrase for the SSL key if it is password protected. |