Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Navigating to the Log Browser after updating vSphere 5.1 Single Sign On Certificates fails with an Unauthorized Access error (2037927)
Symptoms
- When clicking on the Log Browser after updating the Single Sign On Certificates, you see an error similar to:
faultCode:Server.Processing faultString:'javax.servlet.ServeletException : java.lang.Exception: https://server.domain.com:port/vmwb/logbrowser: Unauthorized access 'faultDetail:'null'
Cause
Resolution
openssl pkcs12 -export -in rui.crt -inkey rui.key -certfile carootcert.cer -name "rui" -passout pass:testpassword -out rui.pfxIf this was not done initially, you must replace the current PFX file with the newly created one. This ensures that you are properly able to validate the certificate chain.
Once you are sure that the Certificate Authority root certificate is included in the PFX file, follow these steps to ensure it is added to the trusted SSO STS Certificates:
For a vCenter Server Windows host
- Open a command prompt and navigate to:
C:\Program Files\VMware\Infrastructure\jre\bin\
- Run this command:
keytool -v -importkeystore -srckeystore rui.pfx -srcstoretype pkcs12 -srcstorepass testpassword -srcalias rui -destkeystore rui.jks -deststoretype JKS -deststorepass changeit -destkeypass changeit
Whererui.pfxis the SSO certificate PFX file.
Note:changeitmust be the destination store and key password; do not change the password.
- Copy the
rui.jksfile to theC:\Program Files\VMware\Infrastructure\SSOServer\Security\directory. - Log into the vSphere Web Client as a Single Sign On administrator.
- Navigate to Administration > Sign-on and Discovery > Configuration, and click the STS Certificate tab.
- Click the Edit button.
- Click the Browse button.
- Click the
C:\Program Files\VMware\Infrastructure\SSOServer\security\rui.jksfile. - Enter
changeitas the password and click OK. The rui key chain is shown in the interface. - Click rui.
- Click OK.
- When prompted for the password, enter
changeit. You now see another chain added, and the certificate is available in the GUI. - Restart these services:
- vSphere Web Client
- vCenter Server
- vCenter Inventory Service
- VMware Log Browser
Note: You do not need to restart Single Sign On.
- Once complete, the certificate chain is trusted by vCenter SSO and you are able to use the Log Browser.
For a vCenter Server Appliance host
- Log into the vSphere Web Client as a Single Sign On administrator.
- Use WinSCP to obtain this file from the vCenter Server Appliance:
/usr/lib/vmware-sso/security/server.jks
- Place this file in the local directory of the machine where the Web Client originated.
- Navigate to Administration > Sign-on and Discovery > Configuration, and click the STS Certificate tab.
- Click the Edit button.
- Click the Browse button.
- Browse to the directory where you stored the server.jks file from step 3.
- Click the
server.jksfile. - When you are prompted for a password, do not enter anything and proceed to the next step.
- Log in to the vCenter Server Appliance as root, vmware is the default password.
- Navigate to the
/usr/lib/vmware-sso/conf/server.xmlfile, and open it in a text editor, such asnanoorvi. - Search for
keystorePass="..."in the file, and make note of the password. - At the prompt from step 8, enter the password you made note of.
- Click the newly displayed chain.
- Click OK.
- When prompted for the password, enter the password again. You now see another chain added, and the certificate is available in the GUI.
- Restart these services:
- vSphere Web Client
- vCenter Server
- vCenter Inventory Service
- VMware Log Browser
Note: You do not need to restart Single Sign On.
- Once complete, the certificate chain is trusted by vCenter SSO and you are able to use the Log Browser.
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

