• Task
  • Version · 5.0
  • Integration guide

MSSQL Server with Integrated Security and Kerberos Authentication for Windows

Last updated: August 11, 2026

Before you begin

Procedure

1

Verify the SPN

setspn -T * -F -Q MSSQLSvc/<dbserver>*
Checking forest DC=mydomain,DC=com
CN=DBSERVER,OU=Servers,DC=mydomain,DC=com
        MSSQLSvc/dbserver.mydomain.com:1433
Existing SPN found!
loading
loading
2

Configure the Liquibase connection

loading
changelogFile: changelog.sql
url: jdbc:sqlserver://dbserver.mydomain.com:1433;databaseName=MYDATABASE;integratedSecurity=true;encrypt=true;trustServerCertificate=true
3

Verify the connection

liquibase status --verbose
loading
LOGGED_IN_AS    | AUTH_SCHEME |
MYDOMAIN\lbuser | KERBEROS    |

Alternative: JavaKerberos scheme

loading
loading
loading
loading

Troubleshooting