Artica Wiki

Configuring the service using the command line

Service can be configured using the /etc/init.d/artica-ad-rest startup script

Service can be configured using the /etc/init.d/artica-ad-rest startup script

Stop the service 

/etc/init.d/artica-ad-rest stop

Start the service 

/etc/init.d/artica-ad-rest start

Restart the service 

/etc/init.d/artica-ad-rest restart

Change the listen port 

/etc/init.d/artica-ad-rest configure port 80

Change the listen interface 

/etc/init.d/artica-ad-rest configure interface eth1

Turn ON/OFF the debug mode

/etc/init.d/artica-ad-rest configure debug on/off/1/0/yes/no

Events and debug events are stored in the syslog system

Turn ON/OFF the SSL mode - v1.141

/etc/init.d/artica-ad-rest configure ssl on/off/1/0/yes/no

Set the SSL certificate - v1.141

/etc/init.d/artica-ad-rest configure certificate [certificate name]

Where the [certificate name] is the name of your certificate stored inside the certificate center

Turn ON/OFF snapshots management - v1.151

/etc/init.d/artica-ad-rest configure snapshots on/off/1/0/yes/no

Display network restrictions - v1.141

/etc/init.d/artica-ad-rest configure restrictions show

Add/delete allowed network/IP - v1.141

/etc/init.d/artica-ad-rest configure restrictions [+ or -] [address/cdir]

Where + sign add the entry in database and - remove the entry in database.

/etc/init.d/artica-ad-rest configure restrictions +10.1.20.0/24

Credentials testing

Credentials testing allows you to set the engine to check a url using the proxy and defined credentials.
If the proxy refuse the authentication, then the status result will be false.
This feature is not available in Kerberos method because a specific Kerberos test is made to ensure the authentication is working properly.
 

Turn ON/OFF the credentials test - v1.141

/etc/init.d/artica-ad-rest configure auth on/off/1/0/yes/no

Set the Active Directory username - v1.141

/etc/init.d/artica-ad-rest configure username [testuser]

Set the Active Directory password  - v1.141

/etc/init.d/artica-ad-rest configure password [password]

Set the external URL to test using credentials - v1.141

/etc/init.d/artica-ad-rest configure testurl [full url to test]