First-time Usage of tib-activate
When you use the tib-activate CLI for the first time, you are prompted to configure TIBCO Activation Service by providing the TIBCO Activation Service details. You can provide the details in one of the following ways:
-
Providing the full URL of TIBCO Activation Service, including the fingerprint, as shown in the installation logs. For more information, see Providing the full URL of TIBCO Activation Service.
-
Providing hostname and port of license server. For more information, see Providing hostname and port of TIBCO Activation Service.
-
Setting environment variables. For more information, see Setting Environment Variables (Not Recommended).
Once TIBCO Activation Service is configured, you must set a new administrator password. For more information, see Setting a New Administrator Password.
Providing the full URL of TIBCO Activation Service
Provide a fully qualified TIBCO Activation Service URL along with a fingerprint in the query parameter copied from TIBCO Activation Service logs located at /usr/libexec/tib-lm/README.txt
.
Sample URL:
https://activationserver.example.com:7070?fp=98fdb7e7d06fe3aac5841086684d8069d883984b4030ad8edfa97b363bc0620a
Sample Output:
tib-activate
License Server details not configured, please configure
License Server's hostname and port OR the full URL as shown in /usr/libexec/tib-lm/README.txt: https://activationserver.example.com:7070?fp=98fdb7e7d06fe3aac5841086684d8069d883984b4030ad8edfa97b363bc0620a
Initial setup: please set the password for the administrator of
[admin@https://activationserver.example.com:7070]
Password must be 8 or more characters in length. Password must contain 1 or more lowercase characters. Password must contain 1 or more uppercase characters. Password must contain 1 or more special characters
Enter password:
Confirm password:
Successfully configured License Server details. Server Details are stored at ~/.tib-activate.server-info
User's password has been successfully updated. New user session is stored at ~/.tib-activate.profile and valid until 2:30AM
------------------------------------------------------------------------
You should register the following License Server information with TIBCO:
0242AC110002
------------------------------------------------------------------------
Providing hostname and port of TIBCO Activation Service
Provide the hostname and port of the TIBCO Activation Service. If you are asked to confirm the fingerprint, hash trust the certificate for TLS connections.
Sample hostname and port:activationserver.example.com:7070
Sample output:
tib-activate
License Server details not configured, please configure
License Server's hostname and port OR the full URL as shown in /usr/libexec/tib-lm/README.txt:
activationserver.example.com:7070
Got the TLS certificate with the fingerprint:
98fdb7e7d06fe3aac5841086684d8069d883984b4030ad8edfa97b363bc0620a
Please confirm the above TLS certificate fingerprint matches the one shown in server logs [Y/n]:Y
Initial setup: please set the password for the administrator of [admin@https://activationserver.example.com:7070]
Password must be 8 or more characters in length. Password must contain 1 or more lowercase characters. Password must contain 1 or more uppercase characters. Password must contain 1 or more special characters
Enter password:
Confirm password:
Successfully configured License Server details. Server Details are stored at ~/.tib-activate.server-info
User's password has been successfully updated. New user session is stored at ~/.tib-activate.profile and valid until 2:14AM
------------------------------------------------------------------------
You should register the following License Server information with TIBCO:
0242AC110002
------------------------------------------------------------------------
Setting Environment Variables (Not Recommended)
tib-activate login
command which prompts you to enter the password for the server. This is the most secured way of logging in. For more information, see Login Command. The following environment variables are supported:
-
LICENSE_SERVER_CONNECTION_STRING
: This environment variable is used to store the TIBCO Activation Service connection string. Set the value as TIBCO Activation Service hostname and port. -
LICENSE_SERVER_PASSWORD
: This environment variable is used to provide the TIBCO Activation Service password to log in securely using thelogin
command. Set the value as the new TIBCO Activation Service password.
Sample environment variable:
export LICENSE_SERVER_CONNECTION_STRING=activationserver.example.com:7070
export LICENSE_SERVER_PASSWORD=<license server password>
Sample output:
export LICENSE_SERVER_CONNECTION_STRING=activationserver.example.com:7070
export LICENSE_SERVER_PASSWORD=mypassword
tib-activate
Successfully configured License Server details. Server Details are stored at ~/.tib-activate.server-info
User's password has been successfully updated. New user session is stored at ~/.tib-activate.profile and valid until 2:38AM
------------------------------------------------------------------------
You should register the following License Server information with TIBCO:
0242AC110002
------------------------------------------------------------------------
Setting a New Administrator Password
Once the license server is configured, you must set a new administrator password. The password must meet the following criteria:
-
At least 8 characters in length
-
Contains at least one uppercase letter
-
Contains at least one lowercase letter
-
Contains at least one special character
Example
tib-activate
License Server details not configured. Please provide License Server's hostname
OR the full URL as shown in /usr/libexec/tib-lm/README.txt on server's machine:
https://activationserver.example.com:7070?fp=98fdb7e7d06fe3aac5841086684d8069d883984b4030ad8edfa97b363bc0620a
Initial setup: please set the password to sign in to https://activationserver.example.com:7070
Initial setup: please set the password for the administrator of [admin@activationserver.example.com:7070]
Password must be 8 or more characters in length. Password must contain 1 or more lowercase characters. Password must contain 1 or more uppercase characters. Password must contain 1 or more special characters
Enter new Password:
Confirm new Password:
Successfully configured License Server details. Server Details are stored at ~/.tib-activate.server-info
User's password has been successfully updated. New user session is stored at ~/.tib-activate.profile and valid until 2:58AM