The Identity Service can be installed using a standalone ZIP distribution.
A default realm called Alfresco is installed.
Prerequisites
- Java 11 JDK installed
Installation steps
-
Download the
alfresco-identity-service-2.0.0.zipfile from Hyland Community. -
Move the downloaded zip file to install location of choice and unzip the contents:
For a Linux or Unix environment:
$ unzip alfresco-identity-service-2.0.0.zipFor a Windows environment:
> unzip alfresco-identity-service-2.0.0.zip -
Change directory to the
bindirectory of the unzipped folder and run the start script:For a Linux or Unix environment:
$ cd alfresco-identity-service-2.0.0/bin $ ./kc.sh start --import-realm --http-relative-path="/auth" --hostname=<HOSTNAME> --https-certificate-file=<PATH_TO_CERT_FILE> --https-certificate-key-file=<PATH_TO_CERT_KEY_FILE> $ # alternatively, without HTTPS: $ ./kc.sh start --import-realm --http-relative-path="/auth" --hostname=<HOSTNAME> --http-enabled=true --hostname-strict-https=falseFor a Windows environment using a bat script:
...\alfresco-identity-service-2.0.0\bin\kc.bat start --import-realm --http-relative-path="/auth" --hostname=<HOSTNAME> --https-certificate-file=<PATH_TO_CERT_FILE> --https-certificate-key-file=<PATH_TO_CERT_KEY_FILE> :: alternatively, without HTTPS: ...\alfresco-identity-service-2.0.0\bin\kc.bat start --import-realm --http-relative-path="/auth" --hostname=<HOSTNAME> --http-enabled=true --hostname-strict-https=false -
Navigate to
http://localhost:8080/authonce the service has started. -
Enter a username and password to create an administrator user for the master realm.
The administrator console for the Alfresco realm can be accessed at http://localhost:8080/auth/admin/alfresco/console/. The administrator user for this realm has the following credentials:
| Property | Value |
|---|---|
| Administrator username | admin |
| Administrator password | admin |
| Administrator email address | admin@app.activiti.com |
| Alfresco client redirect URIs | * |
Important: Reset the administrator password for the
Alfrescorealm when first signing into its administrator console.
The Identity Service can be configured further.