There is a KrbPkinitClient class:

https://github.com/apache/directory-kerby/blob/trunk/kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/KrbPkinitClient.java

with for example:

public TgtTicket requestTgt(String principal, String certificate,
String privateKey) throws KrbException {

I'm not sure how well tested this class is though. Please give it a try and
let us know how you get on.

Colm.

On Mon, May 7, 2018 at 9:46 PM, Jim Shi <[email protected]> wrote:

> Hi,
> Do you support PKINIT?
> If do, could you please provide an example how to use certificate to get a
> TGT as a client?
> Thank you so much!
> Jim




-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to