|
1 | 1 | ---
|
2 | 2 | id: alternative-db
|
3 |
| -title: "Using Different DBs with Identity for OIDC" |
| 3 | +title: "Use an alternative database for Identity OIDC" |
4 | 4 | sidebar_label: "Different DBs with Identity for OIDC"
|
5 | 5 | description: "Configure Identity to use other DBs with OIDC"
|
6 | 6 | ---
|
7 | 7 |
|
8 | 8 | import Tabs from "@theme/Tabs";
|
9 | 9 | import TabItem from "@theme/TabItem";
|
10 | 10 |
|
11 |
| -## Overview |
| 11 | +Use an alternative database for Identity OIDC if your internal policies or compliance requirements prevent the use of PostgreSQL. |
12 | 12 |
|
13 |
| -This guide is intended for customers those internal policies or compliance requirements prevent the use of PostgreSQL. |
14 |
| - |
15 |
| -## Versions |
| 13 | +## Database versions |
16 | 14 |
|
17 | 15 | Identity is tested against the following alternative relational databases:
|
18 | 16 |
|
19 |
| -| Camunda Version | Database Version | Driver Version | |
| 17 | +| Camunda version | Database version | Driver version | |
20 | 18 | | --------------- | ---------------- | -------------- |
|
21 | 19 | | 8.6.13 | Oracle 19C | 21.3.0.0 |
|
22 | 20 | | 8.6.13 | SQL Server 2019 | 12.10.0.jre11 |
|
23 | 21 |
|
24 |
| -## Configuration |
25 |
| - |
26 |
| -### Oracle |
| 22 | +## Oracle database configuration |
27 | 23 |
|
28 |
| -#### Provisioning the driver |
| 24 | +### Driver provision |
29 | 25 |
|
30 |
| -The Oracle driver is not provided by default in each of the Camunda 8 distributions. Therefore, we must download the driver and supply it for the application to load. |
| 26 | +As the Oracle driver is not provided by default in each of the Camunda 8 distributions, you must download the driver and supply it for the application to load. |
31 | 27 |
|
32 |
| -1. Download the appropriate driver: https://download.oracle.com/otn-pub/otn_software/jdbc/237/ojdbc17.jar |
| 28 | +1. Download the appropriate Oracle driver: https://download.oracle.com/otn-pub/otn_software/jdbc/237/ojdbc17.jar. |
33 | 29 |
|
34 |
| -2. When starting the application, set `-cp "/app/ojdbc.jar:/app/identity.jar"` in the `java` command during startup. Only necessary for Oracle. |
| 30 | +2. When starting the application, set `-cp "/app/ojdbc.jar:/app/identity.jar"` in the `java` command during startup. This is only required for Oracle. |
35 | 31 |
|
36 |
| -3. If using docker or kubernetes, ensure that the folder with the library is properly mounted as a volume. |
| 32 | +3. If you are using docker or kubernetes, ensure that the folder with the library is properly mounted as a volume. |
37 | 33 |
|
38 | 34 | <Tabs groupId="oracle-config" defaultValue="envVars" queryString values={
|
39 | 35 | [
|
@@ -118,11 +114,11 @@ spring:
|
118 | 114 | </TabItem>
|
119 | 115 | </Tabs>
|
120 | 116 |
|
121 |
| -### MSSQL |
| 117 | +## MSSQL database configuration |
122 | 118 |
|
123 |
| -#### Provisioning the driver |
| 119 | +### Driver provision |
124 | 120 |
|
125 |
| -The driver for MSSQL is provided by default in identity, so there is no need to download it or supply it in the classpath. |
| 121 | +As the driver for MSSQL is provided by default in identity, you do not need to download it or supply it in the classpath. |
126 | 122 |
|
127 | 123 | <Tabs groupId="mssql-config" defaultValue="envVars" queryString values={
|
128 | 124 | [
|
@@ -184,8 +180,12 @@ spring:
|
184 | 180 |
|
185 | 181 | </Tabs>
|
186 | 182 |
|
187 |
| -## Troubleshooting tips |
| 183 | +## Troubleshooting |
| 184 | +
|
| 185 | +The following troubleshooting tips are provided to help you with common issues: |
188 | 186 |
|
189 |
| -- Exec into container confirm java process has the keystore path |
190 |
| -- Confirm certificate exists in the mounted location on the filesystem |
191 |
| -- Test connection from pod to database with simple tool(s) JDBC tool, ping, curl, etc |
| 187 | +| Tip | Description | |
| 188 | +| :----------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 189 | +| Check Keystore path | Access (or "exec into") the running container where the application is deployed and confirm that the Java process running inside the container is configured with the correct keystore path. | |
| 190 | +| Check certificates | Confirm that any SSL/TLS certificate required for secure communication with the database exists in the mounted location on the filesystem. | |
| 191 | +| Test database connection | Test and verify the connection from the pod to the database using simple tools and utilities, such as JDBC tool, ping, curl, and so on. | |
0 commit comments