VMware Cloud Community
itguybri
Contributor
Contributor

Unable to use SDK after VC 2.5 upgrade?!?

I am testing the upgrade to VC 2.5 from 2.0.2 and I am suddenly unable to use the VMware self-signed certificate with the SDK.

This worked perfectly well under VC 2.0.2 (I added a VMware entry into my hosts file and it worked) but it no longer works after upgrading to VC 2.5 (or a fresh VC 2.5 either)

My application that accesses the SDK receives the error that it cannot establish the secure connection ("Could not establish trust relationship for the SSL/TLS secure channel")

It works like a charm through IE (IE7 none the less)

I am trying to access the VC SDK using https://vmware/sdk

Interestingly enough I get a 404 error when I type this in directly.

When I type in https://vmware/ui I get the web login.

0 Kudos
3 Replies
asutosh
Enthusiast
Enthusiast

Yes, its http://ip_address/sdk

In your case, seems there is some problem with your certificate.

0 Kudos
itguybri
Contributor
Contributor

The mob (Managed object browser is a different thing) it basically allows you to input directly into the SOAP interface in a graphical way to verify that everything is working correctly.

This works fine, it isn't an issue.

My issue is with the /sdk on my VC 2.5 server and that it does not answer at all.

0 Kudos
itguybri
Contributor
Contributor

It appears that there is something with the self signed certificate.

If you pay close attenetion tot he VI client (and don't check the box to ignore the certificate error) it persists in reporting an error with the certificate as well . This is even after doing all of the tricks that previously allowed the VC 2.0.x self-signed certificate to work.

Like I say, it will work in a user context in IE - but allowing a program to use it is a no go when the program enforces the certificate and does NOT ignore certificate errors.

0 Kudos