Hello everybody!
Sorry for my english. I get stuck with error while running .NET sample "CIMInfo" - "A certificate is required to complete client authentication" at this line code:
"IWSManEnumerator enumeratorFans = (IWSManEnumerator)
session.Enumerate(urlString,
null, null, wsman.SessionFlagUseBasic() &
wsman.SessionFlagCredUsernamePassword() & wsman.SessionFlagSkipCACheck() & wsman.SessionFlagSkipCNCheck());"
How to install this certificate? I try to install via IE over https://my-esx, but it doesn't installing at "Trusted Root certification Authorities". Any tricks?
Thanks in advance.
Dannyutro,
Ill have the SDK Dev Support team take a peek,, I could not find an FAQ on it but probably worth creating one..
Regards,
Pablo
You can refer to the section "Obtaining Server Certificates" under Appendix A on page 24 in vSphere Developer's Setup guide for information on obtaining the certificates.
http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/sdk40setupguide.pdf
Thanks for yours answers.
I do not want to use certitificate to login, password or username, i want use a "ticket" to connect CIMOM (wsman) repository via C#, like HardwareStatus plugin for VMware VSphere Client. I don't understand why this exception raised up every time when i try use the samples CIMInfo, when i use a sample in Java - output were like this "Couldnt find a path to valid certificate"
Anybody can help me?
P.S: I can't use a http, i can only use https protocol.
Up! I still can't resolve this problem =(
Pablo, whats says SDK Dev Support team? 😃
I am getting the same, issues.
What is the solution?