version 1.8, 2006/01/30 16:19:34
|
version 1.9, 2006/08/08 17:47:15
|
|
|
// Check if SSL is enabled on either the wbem-https or | // Check if SSL is enabled on either the wbem-https or |
// wbem-exp-https ports. | // wbem-exp-https ports. |
ConfigManager * configManager = ConfigManager::getInstance(); | ConfigManager * configManager = ConfigManager::getInstance(); |
Boolean enableHttpsConnection = String::equal( |
Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpsConnection"), "true"); |
configManager->getCurrentValue("enableHttpsConnection")); |
Boolean enableSSLExportClientVerification = String::equal( |
Boolean enableSSLExportClientVerification = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableSSLExportClientVerification"), "true"); |
configManager->getCurrentValue("enableSSLExportClientVerification")); |
if (enableHttpsConnection || enableSSLExportClientVerification) | if (enableHttpsConnection || enableSSLExportClientVerification) |
{ | { |
// Initialize the OS400 OpenSSL wrapper. | // Initialize the OS400 OpenSSL wrapper. |