• Task
  • Version · 6.0
  • Create

Connect Liquibase to Oracle Database with Kerberos Authentication

Last updated: September 29, 2026

Before you begin

Procedure

1

Download Oracle JDBC driver

loading

loading
2

Configure Oracle server for Kerberos (ask your DBA)

loading
lsnrctl stop && lsnrctl start
3

Configure Kerberos

loading
4

Create sqlnet.ora

loading
5

Create tnsnames.ora

loading
6

Configure JDBC properties

loading
7

Configure Liquibase

loading
8

Set environment variables

loading
9

Obtain Kerberos ticket

kinit your_username@your_realm

loading
loading
loading
10

Run Liquibase (TCP)

loading

loading
11

Get the server's TLS certificate

loading
12

Create the wallet directory

mkdir -p wallet
13

Import the certificate into the wallet

loading

loading
14

Verify the wallet contents (optional but recommended)

loading
loading
Checking: wallet/cwallet.sso
Entries: 1
CN=db.company.com
  Subject: CN=db.company.com
15

Update tnsnames.ora for TCPS

loading
16

Create ojdbc_ssl.properties

loading
17

Run Liquibase with TCPS

loading