Product: TIBCO Spotfire®
"Domain credential invalid" error while creating security token through ActiveSpaces command line
While creating the security token for Activespaces secure transport configuration, using "create security_token" as below, "Domain credential invalid" error might be seen.
as-admin> create security_token domain_name "AS-DOMAIN" policy_file "C:/tibco/tss/version/nm/trust/as-policy.txt" token_file "C:/tibco/tss/version/nm/trust/mytoken.txt"
The error will be as below.
Message: Domain credential invalid: Id time validity error [/CN=AS-DOMAIN-XXXX] [valid after: Month Date Time Year, before: Month Date Time Year] [AS-DOMAIN] at line[XX] "
===== This error is seen if the policy file is not valid anymore. To create the security token successfully, the policy file will need to be created again using the steps mentioned in the secure transport for ActiveSpaces documentation. Once the new policy file is created, the file should be updated as mentioned in the documentation and then the "create security_token" command should be run. The security token should be created fine now. https://docs.tibco.com/pub/spotfire_server/7.11.2/doc/html/TIB_sfire_server_tsas_admin_help/GUID-307A9023-DEE2-4427-A40F-FCAB82398415.html