Edit Agent Properties After Installation¶
During installation, the aP Connect Agent installer reads the options.ini file and writes the configuration into the installation folder as separate .properties files. After installation, edit settings by modifying these generated files directly.
Note
Changes to options.ini after installation have no effect. To update settings after installation, edit the generated .properties files and restart the Agent service.
The installation folder is the path you specified as installDirectory in options.ini.
Generated Configuration Files¶
The installer generates the following .properties files in the installation folder:
| File | Source Section in options.ini |
Contents |
|---|---|---|
application.properties |
[General] |
General agent settings (port, authentication token) |
apc-connection.properties |
[aPConnectProperties] |
aP Connect connection settings |
plm-connection.properties |
[PLMProperties] and [OAuthProperties] |
PLM connection and OAuth settings |
Additional Settings in apc-connection.properties¶
The apc-connection.properties file also contains the mTLS properties clientKeystorePath, clientKeystorePassword, and clientKeystoreType. These properties are populated automatically when you select Use mTLS during installation. To disable mTLS (in the Agent only), leave these properties blank.
Edit a Property After Installation¶
Edit these files only when directed by aPriori Support
- Open
apc-connection.propertiesorplm-connection.propertiesin the installation folder. - Edit the property value.
- Save the file.
- Restart the Agent service for the change to take effect.
Encrypted values
Note that the clientId and clientSecret values are encrypted during installation. Encrypted values cannot be modified after install, a reinstall is required to change these values.