BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
YvetteS
Calcite | Level 5

Today when any user attempts to login to our SAS Viya environment they are receiving an error that the username or password is invalid.  It worked yesterday and over the last several months since launch with no issues, nothing has changed on the Linux server.  Any trouble shooting ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
alexal
SAS Employee

@YvetteS,

 

You are welcome. I'm glad that the problem has been resolved.

 

Well I am pleased to report that we resolved issue without engaging the consultants.  You were absolutely correct, a certificate on our LDAP had expired and was replaced.  We copied the new certificate onto the Linux SAS server.  Excellent news.

 

So that being said, we never had this issue in VA or SAS 9.4 on our old install, seems to be new with our recent Viya install, so we noticed that the certificate we just applied expires January 2019.  We are assuming this issue will occur again then, we don't appear to get any warning about this certificate expiring, maybe I should see if IT can add some sort of alert to our SAS administrator.

View solution in original post

22 REPLIES 22
alexal
SAS Employee

@YvetteS,

 

Please clarify, which application they are using? SAS Environment Manager? SAS Studio 4? SAS Studio 5? SAS Home?

YvetteS
Calcite | Level 5

From the "SAS Home" link to login into Viya for VA

alexal
SAS Employee

@YvetteS,

 

Thanks, please check the most recent log file in /opt/sas/viya/config/var/log/saslogon/default directory. Do you see any errors there?

YvetteS
Calcite | Level 5

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

        at

 

Looks like some sort of certificate issue - forgive me I am not a server administrator, and am working with our IT dept who has little experience with this as Zencos did the install - so if you have any trouble shooting steps that would be appreciated.

YvetteS
Calcite | Level 5

Another Log Snip

 

 

[root@cawina06 default]# grep ERROR sas-saslogon_2018-09-09_10-27-48.log

2018-09-09 10:28:26.901 ERROR 24451 --- [n Asynchronous4] c.s.credentials.bootstrap.DomainLoader   : service [82854b7902879700] [domain.create.error.fmt.log] Error creating credentials domain Domain: /credentials/domains/kerberos (GSSCredential) 405 Method Not Allowed

2018-09-09 10:28:26.909 ERROR 24451 --- [n Asynchronous5] c.s.c.bootstrap.ConfigurationLoader      : service [01b40d7d4017b355] [CONFIGURATION_BOOTSTRAP_RESTCLIENT_EXCEPTION] POST encountered an exception attempting to invoke the [HTTPMethod=com.sas.configuration.bootstrap.ConfigurationLoader@7b91d9f][endPoint=/configuration/definitions]

2018-09-09 10:28:28.240 ERROR 24451 --- [n Asynchronous4] c.s.credentials.bootstrap.DomainLoader   : service [82854b7902879700] [domain.create.error.fmt.log] Error creating credentials domain Domain: /credentials/domains/kerberos (GSSCredential) 405 Method Not Allowed

2018-09-09 10:28:31.911 ERROR 24451 --- [n Asynchronous4] c.s.credentials.bootstrap.DomainLoader   : service [82854b7902879700] [domain.create.error.fmt.log] Error creating credentials domain Domain: /credentials/domains/kerberos (GSSCredential) 405 Method Not Allowed

2018-09-09 10:28:31.916 ERROR 24451 --- [n Asynchronous5] c.s.c.bootstrap.ConfigurationLoader      : service [25697dcb24315ddc] [CONFIGURATION_BOOTSTRAP_RESTCLIENT_EXCEPTION] POST encountered an exception attempting to invoke the [HTTPMethod=com.sas.configuration.bootstrap.ConfigurationLoader@7b91d9f][endPoint=/configuration/definitions]

2018-09-09 10:28:36.981 ERROR 24451 --- [n Asynchronous4] c.s.credentials.bootstrap.DomainLoader   : service [82854b7902879700] [domain.create.error.fmt.log] Error creating credentials domain Domain: /credentials/domains/kerberos (GSSCredential) 405 Method Not Allowed

2018-09-09 10:28:41.925 ERROR 24451 --- [n Asynchronous5] c.s.c.bootstrap.ConfigurationLoader      : service [e20c3168892a974b] [CONFIGURATION_BOOTSTRAP_RESTCLIENT_EXCEPTION] POST encountered an exception attempting to invoke the [HTTPMethod=com.sas.configuration.bootstrap.ConfigurationLoader@7b91d9f][endPoint=/configuration/definitions]

2018-09-09 10:28:49.371 ERROR 24451 --- [n Asynchronous4] c.s.credentials.bootstrap.DomainLoader   : service [82854b7902879700] [domain.create.error.fmt.log] Error creating credentials domain Domain: /credentials/domains/kerberos (GSSCredential) 405 Method Not Allowed

alexal
SAS Employee

@YvetteS,

 

Thanks. I just want to see who exactly is throwing this exception:

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

Please do "tail -f" on the most recent SAS Logon log and try to log in to the system. Send to me what will be added on the screen.

If you having connection issues to LDAP(s), most likely the certificate has been updated but not added to SAS Viya trusted store.

YvetteS
Calcite | Level 5

Here is what we get:

 

2018-09-13 11:25:21.962 ERROR 24451 --- [o-auto-1-exec-2] w.a.UsernamePasswordAuthenticationFilter : service [804d145fb06de916] An internal error occurred while trying to authenticate the user.

 

org.springframework.security.authentication.InternalAuthenticationServiceException: cawinc01.cyphersystems.com:3269; nested exception is javax.naming.CommunicationException: cawinc01.cyphersystems.com:3269 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]

 

alexal
SAS Employee

@YvetteS,

 

Have you recently changed SSL certificate on your LDAP server? If yes, you have to add new or updated certificate to SAS VIya as described in document below:

 

Encryption in SAS® Viya® 3.4: Data in Motion -> Encrypt LDAP Connections -> Configure the LDAPS (Sec...

YvetteS
Calcite | Level 5

Our IT guy is saying that he is not aware of any changes and that the LDAP server is one of the domain controllers?

alexal
SAS Employee

@YvetteS,

 

Something has been changed. This command will show you which certificate is currently in use on your LDAP server:

openssl s_client -showcerts -connect <LDAP_SERVER_NAME>:<LDAP_PORT> < /dev/null

Make sure that this certificate has been added to SAS Viya. 

YvetteS
Calcite | Level 5

OK thanks we'll give it a try.

alexal
SAS Employee

@YvetteS,

 

Sure, keep me posted.

YvetteS
Calcite | Level 5

The certificate location is empty ...

 

[root@cawina06 default]# pwd
/opt/sas/viya/config/etc/consul.d/default
[root@cawina06 default]# ls
[root@cawina06 default]#

 

At this point we feel we have exhausted our ability to resolve the issue and are looking to engage Zencos.  Thanks for your support in helping us pinpoint the issue.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 22 replies
  • 4603 views
  • 1 like
  • 2 in conversation