VMware Cloud Community
firestartah
Virtuoso
Virtuoso
Jump to solution

VmomiError during ssolscli.cmd updateService

Hi

I'm experiencing a very strange error when I run the ssolscli.cmd updateService command to bing the trusted SSL ceritifcate to my Secure Token Service. i run the command and get the following error:

D:\Program Files\VMware\Infrastructure\SSOServer\ssolscli> ./ssolscli.cmd updateService -d https://xxxxxxxxxx:7444/lookupservice/sdk -u admin@System-Domain -p xxxxxxxx -si D:\certs\sts_id -ip D:\certs\sts.properties

Intializing registration provider...
Getting SSL certificates for https://xxxxxxxxxx:7444/lookupservice/sdk
Getting SSL certificates for https://xxxxxxxxxxx:7444/sso-adminserver/sdk
com.vmware.vim.vmomi.core.exception.MarshallException: com.ctc.wstx.exc.WstxIOException: Invalid null character in text
to output
Return code is: VmomiError
18

The other two services are binded without an error and I have rechecked and recreated my sts.properties file numerous time and have tried to change the STSService to the ipaddress and still I get the error.

My sts.properties file is:

[service]
friendlyName=STS for Single Sign On
version=1.0
ownerId=
type=urn:sso:sts
description=The Security Token Service of the Single Sign On server.

[endpoint0]
uri=https://XXXXXXXXXXXXXXXXXX:7444/ims/STSService
ssl=c:\ProgramData\VMware\SingleSignOn\SSL\Root64.cer
protocol=wsTrust

Has anyone experienced this before? If i run ssolscli.cmd listServices https://XXXXXXXX:7444/lookupservice/sdk it gives me all the correct information

Gregg

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
firestartah
Virtuoso
Virtuoso
Jump to solution

Hi,

A colleague found the solution:

Got with the customer and tried to unregister services by changing the order of switches on the commands same error.  Cleared out the DelService file and put the ID back into it same error.

Opened up a new admin command prompt, listed out the services again, marked the ID needed to be deleted ran a notepad c:\oldid.txt to create a new file and placed the service ID in that and ran the command and it worked.

Tried another service using the old files bur renamed it to delservice.txt and got the error again.  Tried again, but renamed the file to delser.txt, error result.   Tried with another file the customer had  created called Del_Service.txt and got the error.

Not sure what was with the formatting of the two files the customer was using, but just creating a new file and putting in the IDs resolved the issue."

Gregg

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk

View solution in original post

Reply
0 Kudos
5 Replies
firestartah
Virtuoso
Virtuoso
Jump to solution

I have a ticket open with VMware support around this error. Once I get a response I will update this and submit it for a kb if it warrants

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
Reply
0 Kudos
anujtyagi
Contributor
Contributor
Jump to solution

Hi Firestartah,

Did you manage to fix this issue.

I am seeing exactly the same error with my setup while replacing certificates.

Kind Rgds,
Anuj

Reply
0 Kudos
n_md
Contributor
Contributor
Jump to solution

I see that there hasn't been any activity on this subject in a while but I am having the same issue and was wondering if anyone had found a solution. I too have a ticket open with support and they are not coming up with anything any kind of fast. I am hoping that firestarah will see this and remember what fixed the issue and post it here.

Reply
0 Kudos
firestartah
Virtuoso
Virtuoso
Jump to solution

Hi,

A colleague found the solution:

Got with the customer and tried to unregister services by changing the order of switches on the commands same error.  Cleared out the DelService file and put the ID back into it same error.

Opened up a new admin command prompt, listed out the services again, marked the ID needed to be deleted ran a notepad c:\oldid.txt to create a new file and placed the service ID in that and ran the command and it worked.

Tried another service using the old files bur renamed it to delservice.txt and got the error again.  Tried again, but renamed the file to delser.txt, error result.   Tried with another file the customer had  created called Del_Service.txt and got the error.

Not sure what was with the formatting of the two files the customer was using, but just creating a new file and putting in the IDs resolved the issue."

Gregg

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Gregg http://thesaffageek.co.uk
Reply
0 Kudos
n_md
Contributor
Contributor
Jump to solution

Gregg,

Thanks for posting that. Unfortunately that didn't work for me. I think my problems all started with not paying attention to the version of openssl that was installed with vCenter. I assumed it was the correct version, I made sure to use version 0.9.8 and followed the attached document that was given to me by a VMWare support tech, Craig J Becker. I walked through that document and it all worked. Thanks Gregg and Craig.

Reply
0 Kudos