version 1.9, 2006/08/08 17:47:15
|
version 1.10, 2006/09/29 17:38:16
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Diane Olson (dianeols@us.ibm.com) |
|
// |
|
// Modified By: Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
|
// |
|
// Modified By: Dave Rosckes (rosckes@us.ibm.com) |
|
// |
|
// Modified By: Bert Rivero (hurivero@us.ibm.com) |
|
// |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <sys/types.h> | #include <sys/types.h> |
|
|
// if they do not already exist. | // if they do not already exist. |
//-------------------------------------------------- | //-------------------------------------------------- |
| |
// Check if SSL is enabled on either the wbem-https or |
// Check if SSL is enabled on the wbem-https port |
// wbem-exp-https ports. |
|
ConfigManager * configManager = ConfigManager::getInstance(); | ConfigManager * configManager = ConfigManager::getInstance(); |
Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( | Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpsConnection")); | configManager->getCurrentValue("enableHttpsConnection")); |
Boolean enableSSLExportClientVerification = ConfigManager::parseBooleanValue( |
if (enableHttpsConnection) |
configManager->getCurrentValue("enableSSLExportClientVerification")); |
|
if (enableHttpsConnection || enableSSLExportClientVerification) |
|
{ | { |
// Initialize the OS400 OpenSSL wrapper. | // Initialize the OS400 OpenSSL wrapper. |
// This checks if the OpenSSL LPO is installed. | // This checks if the OpenSSL LPO is installed. |