I am unable access vCO webservices through SOAP protocol in Wavemaker.I get the premature end of file! error when i try using the following url;
http://vcoserver-ip-address:8280/vmware-vmo-webcontrol/webservice?WSDL.
Version of vCO : 5.1
Version of wavemaker : 6.5.2Release.
I have attached the screenshot of the error.
Can i get the solution for this.?
That error indicates that the certificate for vCO has not yet been imported to the Wavemaker server's certificate store. Please reference Christian's post here for instructions on that part of the process:
http://mighty-virtualization.blogspot.com/2012/09/wavemaker-handling-ssl-certificates.html
Hi amashi,
this happens because vCO 5.1 redirects the http to https (just check the URL in the browser). So you need the HTTPS connection (8281 port) and a correct certificate
best regards
Christian
hi,
i have tried with https also. But it does not work work.. can you just tell me how to work with certificates. As in, how to generate and use it?.
I wrote an article on working with vCO over SSL that was in turn published as a KB on VMware's site and referenced on Christian's blog...
First result on Google when searching for "vco ssl" : http://www.vcoteam.info/learn-vco/work-with-vco-over-ssl.html ... this article takes you step by step through the process of creating a self signed certificate that matches the hostname
thank you so much..
ill try this and get back to you.
hi Burke,
I followed the link which you gave but dint work for me..
I have attached the screenshot of error.. Please help me out with this..
thanks
That error indicates that the certificate for vCO has not yet been imported to the Wavemaker server's certificate store. Please reference Christian's post here for instructions on that part of the process:
http://mighty-virtualization.blogspot.com/2012/09/wavemaker-handling-ssl-certificates.html
my vco and wavemaker are on the same machine.. i am not able to find /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents path..
thanks
Oh right Christian's article looks like the paths for OSX, which is what I'm using... You may want to review:
http://dev.wavemaker.com/forums/?q=node/4423
Which points to: http://tomcat.apache.org/tomcat-4.0-doc/ssl-howto.html
I've seen some other discussions here in the communities where others were trying to get WaveMaker to talk to vCO over SSL and they were able to.. for example: http://communities.vmware.com/message/2199036 -- I have not done this myself though.
I just tested this on a Windows XP VM I booted up... Assuming you have already updated your vCO Server with a certificate that has a CN matching the FQDN, then here's what you need to do on the WM server (Windows based):
- Stop your WM services
- export a copy of your certificate from the vCO server using a browser ( I used Firefox pointed at https://<my vco server>:8281/
- (your path may vary here) Import the certificate to the cacerts keystore on the WM server, on my Windows machine, this was done as follows:
c:\Program Files\WaveMaker\6.5.2.Release\jdk-1.6.0_24\jre\bin\keytool.exe -import -alias vco51.vcoteam.lab -file "C:\Documents and Settings\Administrator\My Documents\Downloads\vco51.vcoteam.lab.crt" -storepass changeit -keystore "C:\Program Files\WaveMaker\6.5.2.Release\jdk-1.6.0_24\jre\lib\security\cacerts"
when I was prompted to accept the fingerprints, I typed "yes" and hit <ENTER>, then received:
Certificate was added to keystore
Next, I started my WM Services again and tried to import the SOAP webservice: SUCCESS.
when i export the certificate from vco server through browser i get it in .cer format.. how to get it in .crt format?
hey bruke
Thanks a ton.. It worked for me..