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

  1. 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.

  2. 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"
  3. 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.

  4. Verify that the 'ociconfig.properties' file includes the location for the private key(.pem) file and ensure that the path is valid.

  5. 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]
    chat_model=openai.gpt-4.1
    vision_model=openai.gpt-4.1
    embed_model=openai.text-embedding-3-small
    llama_chat_model=meta.llama-3.3-70b-instruct
    llama_vision_model=meta.llama-4-maverick-17b-128e-instruct-fp8
    cohere_chat_model=cohere.command-a-03-2025
    cohere_embed_model=cohere.embed-multilingual-v3.0
    openai_chat_model=openai.gpt-4.1
    openai_vision_model=openai.gpt-4.1
    openai_embed_model=openai.text-embedding-3-small
    xai_chat_model=xai.grok-4
    xai_vision_model=xai.grok-4
    google_chat_model=google.gemini-2.5-flash
    google_vision_model=google.gemini-2.5-flash
    custom_endpoint_id=<CHANGE_ME>
    cohere_custom_endpoint_id=<CHANGE_ME>
    llama_custom_endpoint_id=<CHANGE_ME>
    genai_endpoint = https://inference.generativeai.us-chicago-1.oci.oraclecloud.com
    genai_region = US_CHICAGO_1
    multimodal_image_type = png,jpg,jpeg
    multimodal_max_image_size = 5242880
    multimodal_image_for_summarize = true
    
  6. 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"
  7. Restart Tomcat.