Configure Authentication for Oracle Cloud Infrastructure (OCI) Artificial Intelligence (AI) Services
Complete the steps in the following procedure to configure authentication for Oracle Cloud Infrastructure (OCI) Artificial Intelligence (AI) services.
To configure authentication for OCI AI services
-
Download the configuration file and the .pem file from OCI.
In the configuration file, make a note of the credential details for the following parameters: user/userId, region, fingerprint, compartmentId, and tenancy.
-
Navigate to Siebel's internal Tomcat's webapps folder:
-
On Windows:
"<siebel home path>\ses\applicationcontainer_internal\webapps"
// For example: "C:\2022_06\ses\applicationcontainer_internal\webapps"
-
On Unix:
"<siebel home path>/ses/applicationcontainer_internal/webapps"
// For example: "/export/home/sblqa1/2022_06/ses/applicationcontainer_internal/webapps"
-
-
Open the 'ociconfig.properties' file in the internal Tomcat's webapps folder and update the following parameter values as required:
user=<CHANGE_ME> fingerprint=<CHANGE_ME> tenancy=<CHANGE_ME> region=<CHANGE_ME> compartmentId=<CHANGE_ME> key_file=<CHANGE_ME>
The value of the key_file should be the location of the .pem file. It is recommended that you keep the .pem file in the same location as the 'ociconfig.properties' file.
-
Verify that the 'ociconfig.properties' file includes the location for the private key(.pem) file and ensure that the path is valid.
-
Open the 'ociconfig.properties' file and check the [GENAI] section. If any LLM needs to be changed, please update the same. Similarly, please check the [SPEECH] section. If any Language needs to be added for either Oracle or Whisper model, please add the same. The [GENAI] and [SPEECH] sections will look like below:
[GENAI] llama_chat_model = meta.llama-3.3-70b-instruct llama_vision_model = meta.llama-3.2-90b-vision-instruct cohere_chat_model = cohere.command-r-08-2024 cohere_embed_model = cohere.embed-multilingual-v3.0 custom_endpoint_id_cohere = <CHANGE_ME> custom_endpoint_id_llama = <CHANGE_ME> genai_endpoint = https://inference.generativeai.us-chicago-1.oci.oraclecloud.com genai_region = US_CHICAGO_1 [SPEECH] LanguageMappingOracleModel = ENU:EnUs#ENG:EnGb#DEU:DeDe#ESN:EsEs#FRA:FrFr#ITA:ItIt#PTB:PtBr LanguageMappingWhisperModel = ENU:en#ENG:en#DEU:de#ESN:es#FRA:fr#ITA:it#PTB:pt
-
Import the necessary OCI digital certificate files to siebel trustore and keystore as required – example commands for importing two OCI certificates follow.
Import the certificate files (digcert1.cer and digicert2.cer) from the command prompt as follows:
-
On Windows:
<Java JDK path>\bin>keytool -importcert -keystore <siebel home path> \ses\applicationcontainer_internal\siebelcerts\siebeltruststore.jks -storepass siebel -file <certificate path>\digicert1.cer -alias "oci-digi01" <Java JDK path>\bin>keytool -importcert -keystore <siebel home path> \ses\applicationcontainer_internal\siebelcerts\siebeltruststore.jks -storepass siebel -file <certificate path>\digicert2.cer -alias "oci-digi02"
-
On Unix:
<Java JDK path>/bin>keytool -importcert -keystore <siebel home path> /ses/applicationcontainer_internal/siebelcerts/siebeltruststore.jks -storepass siebel -file <certificate path>/digicert1.cer -alias "oci-digi01" <Java JDK path>/bin>keytool -importcert -keystore <siebel home path> /ses/applicationcontainer_internal/siebelcerts/siebeltruststore.jks -storepass siebel -file <certificate path>/digicert2.cer -alias "oci-digi02"
-
-
Restart Tomcat.