After upgrade SsoConfig crashes when we choose option 3 (performance Center)
search cancel

After upgrade SsoConfig crashes when we choose option 3 (performance Center)

book

Article ID: 270575

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

After upgrade SsoConfig crashes when we choose option 1, option 3 (performance Center)

Choose an option > 3 

SSO Configuration/DX NetOps/Performance Center:

Jul 20, 2023 2:53:19 AM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging

WARNING: Interceptor for {http://netqos.com/SingleSignOnWS}SingleSignOnWSSoapService#{http://netqos.com/SingleSignOnWS}GetPropertyLevel has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: Could not send Message.

        at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:67)

Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad Request' when communicating withhttps://portal-shortname:8182/pc/center/webservice/sso?WSDL

        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1643)

…………….

We see the URL in the error is using the shortname, but the SSL cert on the pc only has a SAN entry for the longname (FQDN).

Environment

Release : 22.2

Cause

SsoConfig is making a java call for the system hostname:

String hostname = localhost.getCanonicalHostName();                 

System.out.println("Hostname: " + hostname);

 

And getting back the shortname from somewhere.

Since the SSL certificate for portal only has a SAN entry for longname (FQDN) it fails.

Resolution

We set the hostname to long name

hostnamectl set-hostname (FQDN)

we verified DNS

nslookup IP

finally, we edited the hosts file to set

IP <long name> <short name>

And make sure there is only 1 entry for the host.

Additional Information

This is related to DE569813 and will be fixed in a future build.

https://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap9sec95.html