Changing the Authentication Method
Subsequent changing of the authentication method involves considerable effort. The Automation Engine and all agents must be restarted regardless of the authentication method you select.
To Change the Authentication Method from NO to LOCAL (Server)
- End all agents.
- End all server processes.
-
Export the Authentication Key to a file. You do so in batch mode using the AE.DB Load utility (see Start Parameters - Utilities).
The Authentication Key has not yet been set in the database.
-
Make this file available to all agents. For this purpose, enter the following in the agents' INI files:
- In InitialPackage= ([AUTHORIZATION] section), enter the path and name of the Authentication Key file.
- In KeyStore=, enter the path and name of the file in which the agent should store the Authentication Key information.
Make sure that both files are stored in protected directories.
- Set the Authentication Method (in this case, LOCAL) and the Authentication Key in the database. Again, you do this in batch mode using the AE.DB Load utility.
- Start all server processes.
-
For security reasons, Automic recommends withdrawing the authentication from all agents.
The LOCAL Authentication Method is based on the principle that the agents will be manually authenticated in the Administration Perspective to guarantee that the agent is not a program of a potential hacker.
You can skip this step if you are sure you want to make the changeover without this security measure.
To withdraw the agent authentication:
- In the Agents list in the Administration Perspective, select all agents.
- Right-click and select Withdraw Authentication.
- Start all agents.
- The agents read the Authentication Key file and store the information in their KeyStore files. Then, they delete the Authentication Key file automatically.
-
If you followed our recommendation and withdrew the authentication from the agents, you must authenticate them now:
- In the Agents list in the Administration Perspective, select all agents.
- Right-click and select Authenticate Agent.
Remember, authenticated agents that are not authenticated cannot log on to the Automation Engine system.
To Change the Authentication Method from NO to LOCAL_REMOTE (Server and Agent)
With the LOCAL_REMOTE method the agents require a file in which the Authentication Package is stored. As this file differs for each agent, it must be generated individually and made available to the corresponding computers.
- End all agents.
- End all server processes.
-
Change the Authentication Method to LOCAL_REMOTE. You do so in batch mode using the AE.DB Load utility (see Start Parameters - Utilities).
The Authentication Key is now written to the database. Please bare in mind that subsequently changing the Authentication Key is a very complex procedure!
- Start all server processes.
- Log on to system client 0000 ans switch to the Administration Perspective.
- Open the list of Agents. Upon accessing the Agents list, the filter pane is open by default. This allows you to immediately perform a search using the Agent Name field, thus simplifying the work with the list.
-
For security reasons, Automic recommends withdrawing the authentication from all agents.
The LOCAL_REMOTE Authentication Method is based on the principle that the agents will be manually authenticated in the Administration Perspective to guarantee that the agent is not a program of a potential hacker.
You can skip this step if you are sure you want to make the changeover without this security measure.
To withdraw the agent authentication:
- In the Agents list in the Administration Perspective, select all agents.
- Right-click and select Withdraw Authentication.
-
Export an Authentication Package for each individual agent:
- In the Agents list, select all agents.
- Right-click and select Download Authentication Package.
You need W (Write) permissions for the Agent object to be able to export the Authentication Package.
- Save the Authentication Package in a secure folder on the agent's computer.
-
In the INI file of each agent:
- In InitialPackage= ([AUTHORIZATION] section) enter the path and name of the Authentication Package.
- In KeyStore= enter the path and name of the agent's KeyStore file in which the agent will store the information retrieved from the Authentication Package.
Make sure that both files are stored in protected directories.
- Start all agents.
- The agents read the Authentication Package files and store the information in their respective KeyStore files. Then they delete the Authentication Package file automatically.
To Change the Authentication Method from LOCAL to LOCAL_REMOTE (Server to Server and Agent)
As the agents have already been authenticated, you can easily switch from LOCAL to LOCAL_REMOTE and viceversa. You do it in the UC_AS_SETTINGS variable. (See UC_AS_SETTINGS - Advanced Security).
- Log in to system client 0000.
-
Enter UC_AS_SETTINGS in the Global Search field:
-
A dropdown list with a link to the variable opens up. Click it.
The UC_AS_SETTINGS variable is displayed:
- Select the AUTHENTICATION key to activate it.
- Click the file icon in the Value 1 column to open the Cell Editor, where you can enter LOCAL_REMOTE.
- Save your changes.
- End all server processes.
-
Start all server processes.
Agents will automatically connect after the time (in seconds) specified in the RECONNECT_TIME parameter (See UC_HOSTCHAR_DEFAULT - Host Characteristics.
To Change the Authentication Method from LOCAL (Server) or LOCAL_REMOTE (Server and Agent) to NO
With Authentication Method "NO", the agents do not require the Authentication Key that is stored in the Automation Engine database. Therefore, the agents' keystore files must be deleted. You do it in the UC_AS_SETTINGS variable. (See UC_AS_SETTINGS - Advanced Security).
- End all agents.
- Log in to system client 0000.
-
Enter UC_AS_SETTINGS in the Global Search field:
-
A dropdown list with a link to the variable opens up. Click it.
The UC_AS_SETTINGS variable is displayed:
- Select the AUTHENTICATION key to activate it.
- Click the file icon in the Value 1 column to open the Cell Editor, where you can enter NO.
- Save your changes.
- End all server processes.
-
Delete the Authentication Key from the database.
For this purpose, process the following SQL statement in a transaction: delete from oha.
-
Start all server processes.
- Delete the KeyStore file in each agent. Its path and name are stored in the KeyStore= parameter of their respective INI files.
- Start all agents.
See also: