OpenIdentityPlatform / OpenAM

OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
https://www.openidentityplatform.org/openam
Other
778 stars 152 forks source link

Setting up SSO Admin tools throws error #468

Closed seanleblancicdtech closed 1 year ago

seanleblancicdtech commented 2 years ago

I'm trying to get the SSO Admin Tools installed. I download zip, unzip and in the unzipped directory, run ./setup

Do you accept the license? yes
Path to config files of OpenAM server [/Users/sleblanc/openam]:
Debug Directory [/Users/sleblanc/Downloads/SSOAdminTools-14.6.4/debug]:
Log Directory [/Users/sleblanc/Downloads/SSOAdminTools-14.6.4/log]:
amSecurity:02/25/2022 11:02:50:421 AM MST: Thread[main,5,main]: TransactionId[unknown]
ERROR: created internalAppSSOToken:aVpVelNVSkMybXFNUFhacndLZ0d4UT09MTY0NTgxMjE2NTQxNg==, authInitialized: false, SystemProperties.isServerMode(): false,  SystemProperties.get(AMADMIN_MODE): true
The scripts are properly setup under directory: /Users/sleblanc/Downloads/SSOAdminTools-14.6.4/openam
Debug directory is /Users/sleblanc/Downloads/SSOAdminTools-14.6.4/debug.
Log directory is /Users/sleblanc/Downloads/SSOAdminTools-14.6.4/log.
The version of this tools.zip is: OpenAM 14.6.4
The version of your server instance is: OpenAM 14.6.4 Build 55b85d9041 (2021-July-28 09:18)

I think the "ERROR: created internalAppSSOToken...." may be related to why I then get an error when trying to import exported data:

./ssoadm import-svc-cfg -u amAdmin -f ~/pwd -e secret -X ~/export-openam-config

amSecurity:02/25/2022 11:06:56:622 AM MST: Thread[main,5,main]: TransactionId[unknown]
ERROR: created internalAppSSOToken:UW9oRnlMbWpBR1FMbTViZXdLZ0d4UT09MTY0NTgxMjQxMTYwOQ==, authInitialized: false, SystemProperties.isServerMode(): false,  SystemProperties.get(AMADMIN_MODE): true
Directory Service contains existing data. Do you want to delete it? [y|N] y
Please wait while we import the service configuration...
Unexpected LDAP exception occurred.
vharseko commented 1 year ago

please check https://github.com/OpenIdentityPlatform/OpenAM/releases/tag/14.7.4 and provide

Debug directory is /Users/sleblanc/Downloads/SSOAdminTools-14.6.4/debug. Log directory is /Users/sleblanc/Downloads/SSOAdminTools-14.6.4/log