cloudsoft / winrm4j

Apache License 2.0
94 stars 53 forks source link

KERBEROS authentication fails over HTTP if AllowUnEncrypted=false #151

Open Satya318 opened 2 years ago

Satya318 commented 2 years ago

We are connecting to a windows server using KERBEROS TGT for authentication, but the server returns 500 as it is set to AllowUnEncrypted=false . It works fine if NTLM auth scheme is used and from the logs it is visible that the message body is getting encrypted over HTTP. However, the same is not happening for KERBEROS. Message body is not getting encrypted over HTTP. Could you please help us implement the encryption over HTTP using KERBEROS ? Using below dependency in our maven project

<dependency>
    <groupId>io.cloudsoft.windows</groupId>
    <artifactId>winrm4j</artifactId>
    <version>0.12.3</version>
</dependency>