cimcli command error when openssl is enabled
"Yaligar, Veeresh S \(USD SRDL\)" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <DAD483C7C19E084EA1E9FC67303969393E6AA70D68@GVW1157EXB.americas.hpqcorp.net> |
Hi I followed all the steps to enable openssl in cimserver on Windows 2008 machine. Created key and certificate as per documentation and also set the cimserver variables as below httpsPort=5989 enableHttpsConnection=true enableAuthentication=true traceComponents=All traceLevel=4 sslCertificateFilePath=myserver.cert sslKeyFilePath=myserver.key Generated a self signed certificate and added it to trust store using cimturst , cimauth and cimuser commands. when I connect to cimom from the same machine I get following errors. >cimcli ei -n root/pg_interop cim_computersystem -l <ip>:5989 -u administrator -p xxx cimcli Pegasus Exception: Connection closed by CIM Server.. Cmd = ei Object = cim_computersystem >cimcli ei -n root/pg_interop cim_computersystem -l ip:5989 -u administrator -p xxxxx -s --cert myserver.cert --key myserver.key cimcli Pegasus Exception: HTTP Error (401 Unauthorized).. Cmd = ei Object = cim_computersystem The cimom trace show as below. 1312107386s-20595us: SSL [4828:18446744073709551614:TLS.cpp:159]: ---> SSL: Created SSL socket 1312107386s-20595us: DiscardedData [4828:18446744073709551614:TLS.cpp:371]: ---> SSL: Not accepted 1 error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request client IP address : 15.146.152.2 1312107386s-20595us: DiscardedData [4828:18446744073709551614:HTTPAcceptor.cpp:880]: HTTPAcceptor: SSL_accept() failed 1312107386s-36220us: SSL [4828:18446744073709551614:TLS.cpp:172]: ---> SSL: Deleted SSL socket cimcli works fine when queried on http port >cimcli ei -n root/pg_interop cim_computersystem Success. Appreciate your help on troubleshooting the problem. Thanks Veeresh