ESGF / esgf-installer

ESGF P2P Node Installer
https://esgf.llnl.gov/
Other
20 stars 21 forks source link

Unable to authenticate users #518

Closed nathanlcarlson closed 6 years ago

nathanlcarlson commented 6 years ago

@muryanto1 is unable to authenticate test users. Looking at /usr/local/tomcat/logs/catalina.out there is a number of occurrences of the following error.

Could not resolve placeholder 'short.lived.certificate.server' in string value "https://${short.lived.certificate.server}/esgf-slcs/oauth/authorize"

Prior to this error, there are some debug statements.

[DEBUG] esg.orp.orp.PreAuthenticationFilter: Parameter name=redirect value=null
[DEBUG] esg.orp.orp.PreAuthenticationFilter: Parameter name=openid_identifier value=null
[DEBUG] esg.orp.orp.PreAuthenticationFilter: Parameter name=rememberOpenid value=null
nathanlcarlson commented 6 years ago

Looking into /usr/local/tomcat/config/server.xml, in the Connector sections I am finding

...
               proxyName="esgf-dev2.llnl.gov"
...

Since this is on esgf-dev1.llnl.gov, I think this may be incorrect. I am going to manually edit this and give it a restart and see what happens @muryanto1

nathanlcarlson commented 6 years ago

Additionally, the password for the keystore/truststore is currently not getting properly set.

nathanlcarlson commented 6 years ago

Users are now able to authenticate