...
The Active Directory certificate can be added to the Java certificate store using the keytool command. Here are example commands for Windows and Linux installations:
Code Block |
---|
language | text |
---|
theme | RDark |
---|
title | Listing 1. Windows: |
---|
|
cd /d "C:\Program Files\Ubisecure\ubilogin-sso\"
setenv.cmd
cd %JRE_HOME%\lib\security
keytool -importcert -keystore cacerts -trustcacerts -alias mytrustedca -file <insert filename here> -storepass changeit |
Code Block |
---|
language | text | theme | RDark |
---|
title | Listing 2. Linux: |
---|
|
cd /usr/local/ubisecure/ubilogin-sso/
. setenv.sh
cd $JRE_HOME/lib/security
keytool -importcert -keystore cacerts -trustcacerts -alias mytrustedca -file <insert filename here> -storepass changeit |
...