BookmarkSubscribeRSS Feed
sathya66
Barite | Level 11

Hi All,

Try to run FS login macro in EG but it is failed because of below error. please can you advice. 

 

checked sassw.config  and sas-environment.xml are pointing to correct environment .

 

 

 

28 %FSLOGIN(USER=test_user, PASSWORD=XXXXXX,SASENVIRONMENT=default);
NOTE: Assuming default middle-tier name based on login type: fsmain

ERROR: Exception caught in FSLOGIN.
ERROR: ENVIRONMENT_LOAD_FAILED
08-17 14:23:27,896 [Thread-3][FATAL XmlEnvironmentManager] - Unable to properly initialize EnvironmentManager (IOException) using
the provided URL (https://prod.com:8343/sas/sas-environment.xml)
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 sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.jav...)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
at java.net.URL.openStream(URL.java:1045)
at com.sas.svcs.environment.xml.XmlEnvironmentManager.<init>(XmlEnvironmentManager.java:106)
at com.sas.swing.login.negotiate.ValidatingNegotiator.getEnvironments(ValidatingNegotiator.java:71)
at com.sas.swing.login.EnvironmentLogonManager.getLogonTargets(EnvironmentLogonManager.java:171)

1 REPLY 1
gwootton
SAS Super FREQ
It looks like the process doesn't have a trust chain for the TLS certificate being supplied by https://prod.com:8343, so it can't read sas-environment.xml.

This documentation link describes adding the certificates to the trusted CA bundle
https://go.documentation.sas.com/?docsetId=secref&docsetTarget=n0n1y5gwevy312n13h5bm4yf6quy.htm&docs...
--
Greg Wootton | Principal Systems Technical Support Engineer

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
  • 1 reply
  • 791 views
  • 1 like
  • 2 in conversation