Ensure that Kerberos authentication has been configured correctly in Applications Manager by following the steps in the relevant KB article.
Verify that the SQL Server hostname is specified using its Fully Qualified Domain Name (FQDN).
For example: mssql-kerberos-dc1.mssqlkerberos.comEnsure that:
The SQL Server hostname is configured using its FQDN.
The FQDN can be resolved by the DNS server.
Run the following command:
nslookup <SQL_Server_FQDN>
Example:
nslookup mssql-kerberos-dc1.mssqlkerberos.com
Run the following command on the SQL Server machine to verify the SPN configuration:
setspn -T <Domain_Name> -F -Q MSSQLSvc/<SQL_Server_FQDN>*
Replace:
<Domain_Name> - with your Active Directory domain.
<SQL_Server_FQDN> - with the SQL Server's fully qualified domain name.
Verify that the expected SPN exists and is registered correctly.
krb5.ini configurationEnsure that the correct krb5.ini file is being used.
Download the appropriate file based on your environment:
Single-domain environment: krb5_file_for_single_domain_environment.zip
Cross-domain environment: krb5_file_for_cross_domain_environment.zip
After downloading:
Replace XXX with your domain name in uppercase.
Set both kdc and admin_server to the FQDN of the Active Directory domain controller.
Kerberos authentication requires synchronized system clocks.
Ensure that the clocks on the following systems are synchronized:
Domain Controller
SQL Server
Applications Manager server
By default, Kerberos allows a maximum clock skew of 5 minutes.
If ticket cache authentication is being used, verify that the Kerberos ticket is valid.

Navigate to:
<APM_HOME>/working/jre/bin
Run:
klist -l <username>@<DOMAIN>
Example:
klist -l Administrator@APMKERBEROS.COM
Confirm that a valid Kerberos ticket is available and has not expired.
If you encounter any of the following errors:
GSS Failed: No valid credentials provided (Mechanism level: Attempt to obtain new INITIATE credentials failed!)
I/O Error: GSS Failed: Invalid name provided (Mechanism level: KrbException: Cannot locate default realm)
I/O Error: GSS Failed: No valid credentials provided (Mechanism level: Fail to create credential (63) - No service creds)
Verify the following:
A valid Kerberos ticket exists (klist).
The SQL Server SPN is configured correctly.
The krb5.ini file contains the correct REALM, KDC, and admin_server entries.
DNS resolution is functioning correctly.
The SQL Server hostname is specified using its FQDN.
Add the following entry to:
<APM_HOME>/working/conf/wrapper.conf
wrapper.java.additional.33=-Dsun.security.krb5.debug=true
Restart Applications Manager.
Reproduce the issue by attempting to add the SQL Server monitor using Kerberos authentication.
Screenshot showing the Kerberos configuration in Applications Manager
Output of the setspn command
Output of the nslookup command
Output of the klist command
Confirmation that the system clocks are synchronized
Screenshot showing the debug entry added to wrapper.conf
File | Location |
database_params.conf | APM_HOME/working/conf |
java.security | APM_HOME/working/jre/lib/security/ |
krb5.ini | APM_HOME/working/conf/KerberosConfigurations/ |
login.conf | APM_HOME/working/conf/KerberosConfigurations/MSSQL/MicrosoftJDBCDriver/ |
wrapper.conf | APM_HOME/working/conf |
