Create a file-based ticket cache
- Last UpdatedJan 04, 2023
- 1 minute read
- PI System
- PI SQL Client JDBC 2021
- Developer
Follow this procedure to create a file-based ticket cache or, if the file exists, renew the ticket. On Windows, the file is named {user.home}\krb5cc_{user.name}. On Linux, macOS, and Oracle Solaris the file is named /tmp/krb5cc_uid, where uid is the user identification number.
Note: You must update the file-based ticket cache after the ticket expires or after a password change.
-
To create a file-based ticket cache, open a Command Prompt window and use the cd command to change the directory to your JRE installation bin folder.
-
Type kinit -f and press Enter.
In Java 9 and later, you can use the following parameters to change specific attributes in your ticket:
-
-l
Set the ticket lifetime.
-
-R
Set whether the ticket is renewable.
-
-r
Set the renewal time.
-
-
When prompted, enter your credentials and press Enter.
A file cache is created if it does not exist. If the file exists, the ticket is renewed.