This documentation supports the 23.3 version of BMC Helix Digital Workplace Basic and BMC Helix Digital Workplace Advanced. Icons distinguish capabilities available only for the Advanced and External license levels. For more information, see License types and features.To view an earlier version, select the version from the Product version menu.

Troubleshooting configuration for BMC Helix Single Sign-On integration


Read this topic before making any major changes in your current configuration. Also, make a backup of your configuration files, operating systems, and databases before making any major changes to your database.

Make sure you have configured BMC Helix Digital Workplace and BMC Helix Single Sign-On (BMC Helix SSO) integration.

Additional check:

BMC Helix Digital Workplace and BMC Helix Digital Workplace Catalog agent-id values should always match in both rsso-agent.properties , i.e. agent-id=dwp-agent. Here's a good example of a standard rsso-agent.properties file:

logout-urls=/atssologout.html
agent-id=myit-agent
excluded-url-pattern=.*\\.xml|.*\\.gif|.*\\.css|.*\\.ico|/shared/config/.*|/WSDL/.*|/shared/error.jsp|/shared/timer/.*|/shared/login_commn.jsp|/shared/view_form.jsp|/shared/ar_url_encoder.jsp|/ThirdPartyJars/.*|/shared/logout.jsp|/shared/doc/.*|/shared/images/.*|/shared/login.jsp|/services/.*|/shared/file_not_found.jsp|/plugins/.*|/shared/wait.jsp|/servlet/GoatConfigServlet|/servlet/ConfigServlet|/shared/HTTPPost.class|/shared/FileUpload.jar|/BackChannel.*|/servlet/LicenseReleaseServlet.*

sso-external-url=http://rsso.domain.com:8080/rsso/
sso-service-url=http://rsso.domain.com:8080/rsso/

com.bmc.rsso.tls.disable.checks=true
use-in-memory-cache=true

callback-url=http://dwp.domain.com:9000/dwp/app

For more details, see Configuring the BMC Helix SSO agent.

If you use BMC Helix Digital Workplace Catalog, ensure that you have the ignore-tenant domain setting defined in all your applications: BMC Helix Digital Workplace, BMC Helix ITSM: Smart IT, and Mid Tier.

Narrowing down BMC Helix SSO issues

  • Always make sure that the BMC Helix SSO server is able to communicate with the BMC Helix SSO agent's hosts servers.

    • Check your DNS/Network/Certificates/Firewalls settings and confirm that communication is bidirectional.
    • NOTE: curl, ping, telnet wget are good commands to check this.
      • Log in to the BMC Helix Digital Workplace server and run: curl -vk https://rsso.domain.com  

        Example of a working connection -if SSL is in place, output will be longer, but the output should display something like  * Connected to rssoserver  (xxxxxxx) port 443 (#0)

        This is being executed from BMC Helix Digital Workplace Catalog to BMC Helix SSO. Check from BMC Helix SSO to BMC Helix Digital Workplace Catalog. 
        * About to connect() to http://rssoserver.domain:port/rsso port 8080 (#0)
        *   Trying xxxxx...
        * Connected to rssoserver  (xxxxxxx) port 8080 (#0) 
        > GET /rsso HTTP/1.1
        > User-Agent: curl/7.29.0
        > Host:/rssoserver.domain:port
        > Accept: */*
        >
        < HTTP/1.1 302
        < Location: /rsso/
        < Transfer-Encoding: chunked
        < Date: Mon, 09 Mar 2020 16:25:48 GMT
        <
        * Connection #0 to host rssoserver.domain left intact
  • A good practice is testing BMC Helix SSO on a non-ssl protocol first, and then on SSL.
    • You should be able to resolve and reach the BMC Helix SSO URL from the BMC Helix Digital Workplace server and vice versa, this includes the load balancer URL, Server alias, and FQDN.
  • Remember that localhost URL is not supported, and you need to use Fully Qualified URLs at all times when BMC Helix SSO is in place.
  • It is a good practice to have BMC Helix SSO and the other applications running on the latest and greatest available version.
  • Running GA versions could lead to some issues.
  • If you have enabled Managed Service Provider (MSP) in place, make sure that rsso-agents are configured.
    For more information, see Domain entry page for MSP users.

Use this troubleshooting and resolution guide whenever you're having any of the following issues:

  • The spinning wheel is displayed when users try to log in to BMC Helix Digital Workplace via BMC Helix SSO.
  • Two login pages are displayed when users try to log in to BMC Helix Digital Workplace Catalog via BMC Helix SSO: BMC Helix SSO login page and BMC Helix Digital Workplace Catalog login page.
  • End users see "User 'x' has no access to * realm" error message.
  • End users see "An invalid domain [.xxxx.com] was specified for this cookie" error message after enabling BMC Helix SSO in BMC Helix Digital Workplace, Mid Tier, or BMC Helix ITSM: Smart IT.
  • End users are not able to see BMC Helix Digital Workplace Catalog offerings in BMC Helix Digital Workplace.

Issue scope

  • What's the actual problem? (Elaborate on the issue, explain the behavior and mention the error messages you're getting, what are you expecting to see, etc)
  • How many users are being affected by this and where (Prod, Test, QA, Go-live)?
  • What's the impact of the issue?
  • How can this be reproduced? (Frequency)
  • Was this ever working? If yes, what changed/happened when things stopped working?

Diagnosing and reporting an issue

Instructions: After you identify the symptoms and scope of the issue, use this troubleshooting guide to help the customer diagnose and resolve the issue or to create a BMC Support case. 

Action

Steps

Reference

Troubleshooting BMC Helix Digital Workplace and BMC Helix SSO

integration



In the BMC Helix SSO Admin Console, enable BMC Helix SSO debug logging; see Working with logs.

RSSO_DWP1.png

Self-resolve

  • To reproduce the issue, enable debug logging in both BMC Helix Digital Workplace  server and BMC Helix SSO agents.
  • Take note of the time when the issue is replicated.
  • Take screenshots or video while replicating the use case.
  • Get the rsso.log and rsso-agent.0.log from both BMC Helix SSO and BMC Helix Digital Workplace servers, and do a search on SEVERE, ERROR - look for the error that is close to the time when the issue was encountered.
  • Take note of the error code and do a search in our Knowledge Base to find any relevant solutions


Prerequisite

  • You must have run the configure rsso script which is under </dwpcatalog>/sb/configure_rsso

./configure_rsso.sh

  • Example of the details you should provide:

    RSSO_DWP2.PNG
  • As a Demo user, log in to Mid Tier configured for BMC Helix Digital Workplace Catalog, navigate to AR System Administration > AR System Administration Console > System > General > Centralized Configuration. Then, click the Component Name field, and select arsys.server.shared. Change the value for Crossref-Blank-Password to T. If the value is absent, click Add, and create a new one. Then, click Apply.RSSO_DWP3.png
  • Confirm that EA RPC processes are running on 390695

ps -auxwe | grep 390695

root     29780  0.0  0.0 112712   972 pts/0    S+   10:21   0:00 grep --color=auto 390695 XDG_SESSION_ID=8161 HOSTNAME=clm-aus-ta8r7l TERM=xterm SHELL=/bin/bash HISTSIZE=1000 BMC_AR_SERVER_HOME=/opt/bmc/digitalworkplace SSH_CLIENT=172.21.51.179 1044 22...

Confirm that the BMC Helix SSO configuration files exist in its corresponding directory and are configured for each application.

BMC Helix Digital Workplace

File

Location

rsso-agent.properties

<tomcat8.5>/external-conf/

sso-sdk.properties

<tomcat8.5>/external-conf/

rsso-agent-all.jar

<tomcat8.5>/tomcat8.5/external-conf/lib/

rsso-client-impl.jar

<tomcat8.5>/tomcat8.5/external-conf/lib/

rsso-sdk-atsso.jar

<tomcat8.5>/tomcat8.5/external-conf/lib/


BMC Helix Digital Workplace Catalog

File

Location

gson-x.x.x.jar

<installLocation>/pluginsvr

rsso-agent-osgi.jar

<installLocation>/deploy

rsso-agent.properties

<installLocation>/conf

rsso-area-plugin-all.jar

<installLocation>/pluginsvr

rsso.cfg

<installLocation>/conf

slf4j-api-1.7.25.jar

<installLocation>/pluginsvr


  • Make sure that the slf4j-api-1.7.25.jar entry is present in </dwpcatalog>/pluginsvr/pluginsvr_config.xml

<pathelement type="location">/opt/bmc/digitalworkplace/pluginsvr/slf4j-api-1.7.25.jar</pathelement>

Check for the ARSYS.AREA.RSSO tag in the pluginsvr_config.xml. If it is not present, add it and restart BMC Helix Digital Workplace Catalog, i.e. </dwcatalog>/pluginsvr/pluginsvr_config.xml

            <name>ARSYS.AREA.RSSO</name>  
            <classname>com.bmc.rsso.plugin.area.RSSOPlugin</classname>  
            <pathelement type="location">/opt/bmc/digitalworkplace/pluginsvr/rsso-area-plugin-all.jar</pathelement>  
             <configFile>/opt/bmc/digitalworkplace/conf/rsso.cfg</configFile>


Report

  • If you are not able to resolve this on your own, raise a new case to BMC Support
  • File a new case in BMC Support Portal

Send diagnostics

  • Possible diagnostics
    • What's changed
    • Screen capture/Video
    • Messages/Errors/Behavior
    • Logs
    • Has this ever worked before?
  • Collect rsso.log, rsso-agent.log, BMC Helix Digital Workplace and BMC Helix Digital Workplace Catalog logging while reproducing the issue.
  • Elaborate on how to reproduce the issue.
  • Provide screenshots and video, if possible.

Apply fix from BMC Support

  • BMC recommends to be on the latest and greatest available build and version there is.
  • If not possible, at least, try to be on the latest supported HF for a supported version.

Confirm with Support if a HF, Cumulative HF or an Upgrade is required.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*