The default setup of OpenWBEM is relatively secure. However, you might want to review the following to ensure access to OpenWBEM components is as secure as desired for your organization.
Secure Socket Layers (SSL) transports require a certificate for secure communications to occur. When OES is installed, OpenWBEM has a self-signed certificate generated for it.
If desired, you can replace the path for the default certificate with a path to a commercial certificate that you have purchased or with a different certificate that you have generated in the http_server.SSL_cert = path_filename setting in the openwbem.conf file.
The default generated certificate is in the following locations:
Table 5-2 Default Locations for Generated Certificates
Platform |
File Location |
---|---|
Linux |
/etc/openwbem/servercert.pem |
NetWare |
sys:/system/cimom/etc/openwbem/hostkey+cert.pem |
If you want to generate a new certificate, use the following commands. Running these commands replaces the current certificate, so Novell recommends making a copy of the old certificate before generating a new one.
Table 5-3 Commands for Generating Certificates
Platform |
Command |
---|---|
Linux |
As root in a console shell, enter sh /etc/openwbem/owgencert. |
NetWare |
As user Admin or with equivalent rights in a Bash console shell, enter: /system/cimom/etc/openwbem/owgencert. To get a bash prompt, enter bash at the System Console prompt. To exit the bash console shell, enter exit. For more information about using bash commands on NetWare, see |
If you want to change the certificate that OpenWBEM uses, see Changing the Certificate Configuration.
OpenWBEM is configured by default to accept all communications through a secure port, 5989. Information in the following table explains the port communication setup and recommended configuration.
Table 5-4 Port Communication Setup and Recommended Configurations
If you want to change the default port assignments, see Changing the Port Configuration.
The following authentication settings are set and enabled as the default for each platform for OpenWBEM in OES.
You can change any of the default settings. See Changing the Authentication Configuration.
On Linux, the following settings are default:
http_server.allow_local_authentication = true
http_server.ssl_client_verification = disabled
http_server.use_digest = false
owcimomd.allow_anonymous = false
owcimomd.allowed_users = *
owcimomd.authentication_module = /opt/novell/lib/openwbem/authentication/libnovellauthentication.so
On Linux, the OpenWBEM CIMOM is PAM-enabled; therefore the following can occur:
Local users can authenticate to the OpenWBEM CIMOM with local user credentials.
If LUM is installed on the server where the OpenWBEM CIMOM is running, then the LUM-enabled user can authenticate to the OpenWBEM CIMOM.
If a LUM-enabled user has the Supervisor right for the Entry Rights property for the UNIX Workstation object that represents the Linux server, the OpenWBEM CIMOM grants that user Root privileges to that Linux server.
On NetWare, the following settings are default:
http_server.allow_local_authentication = false
http_server.ssl_client_verification = disabled
http_server.use_digest = false
owcimomd.allow_anonymous = false
owcimomd.allowed_users = *
owcimomd.authentication_module = /system/cimom/lib/openwbem/authentication/libnetwareauthentication.nlm ldap_auth.ldap_host = 127.0.0.1 ldap_auth.cert_file = /public/RootCert.der
You need to reconfigure the LDAP settings as shown in the following table. To change these settings, see owcimomd.authentication_module.
Table 5-5 Recommended Changes for LDAP Settings
The following additional LDAP settings are recognized by owcimom.nlm:
ldap_auth.ldap_port = 636
ldap_auth.bind_timelimit = 3
ldap_auth.binddn = anonymous
ldap_auth.bindpw = N/A
ldap_auth.search_timelimit = 10 seconds
ldap_auth.searchscope = sub
ldap_auth.user_cachesize = 10 entries
If you want to override these settings, you need to add them to the openwbem.conf file and make the changes as desired. To change these settings, see Configuring Additional LDAP Settings for NetWare.