<div dir="auto">Hi Team,<br><div id="cm_replymail_content_wrap"><div 
id="cm_replymail_content_1474462611" style="overflow: visible;"><div 
dir="ltr"><div><br></div><div>I am facing an issue while I am trying to set 
Client Authenticator as 'Signed JWT'. I am using Keycloak-admin.jar to do 
it. </div><div><br></div><div>Here I am trying to automate the complete 
client creation work through a java 
program.</div><div><br></div><div><div><font face="monospace, 
monospace">ClientAttributeCertificateResource cacr 
=clientResource.getCertficateResource("jwt.credentials");</font></div><div><font 
face="monospace, monospace">byte[] 
mycert=cacr.generateAndGetKeystore(keyStoreConfig);<br></font></div><div><font 
face="monospace, monospace"><br></font></div><div><font face="arial, 
helvetica, sans-serif">Here keyStoreConfig is the config object which 
contains all the metadata required to generate the certificate e.g keystore 
password, format, alias name etc.</font></div><div><font face="arial, 
helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, 
sans-serif">I could successfully got the certificate generated and got it 
as a byte array and in the backend it is not configuring for the 
client.</font></div><div><font face="arial, helvetica, 
sans-serif"><br></font></div><div><font face="arial, helvetica, 
sans-serif">I am still seeing this:</font></div><div><font face="arial, 
helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, 
sans-serif"><img src="cid:ii_ita5zjxc0_15742e937c1b0d0e" width="472" 
height="70"><br><br></font></div><div></div><div><font face="arial, 
helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, 
sans-serif">Even though value for Client Authenticator is set as Signed Jwt 
and same is getting updated in keycloak.json (under installation) as 
well.</font></div><div><font face="arial, helvetica, 
sans-serif"><br></font></div><div><font face="arial, helvetica, 
sans-serif">Code to set the authenticator is : </font></div><div><font 
face="arial, helvetica, sans-serif"><br></font></div><div><font 
face="monospace, 
monospace">client.setClientAuthenticatorType(client-jwt);</font><br></div><div><div><font 
face="monospace, monospace"><span 
style="white-space:pre-wrap"><br></span></font></div><div><font 
face="monospace, monospace"><span 
style="white-space:pre-wrap"><br></span></font></div><div><font 
face="monospace, monospace"><span style="white-space:pre-wrap">Please                         
</span></font></div></div><div><font size="1" face="monospace, 
monospace"><br></font></div><div><div><div dir="ltr"><div><div 
dir="ltr"><div dir="ltr"><div><b><font face="monospace, monospace">- Best 
Regards</font></b></div><div><span style="font-size:12.8px">   Abhishek 
Raghav</span><br></div><div><div><br></div><div>

<p 
style="background-image:none;background-color:white;background-position:0% 
0%;background-repeat:repeat"><span 
style="font-size:12pt;font-family:&quot;bookman old 
style&quot;,serif;color:rgb(34,34,34)"><br></span></p>

</div></div><br><div><br></div><div><br></div><div><br></div></div></div></div></div></div></div>
</div></div>
</div>            </div>            </div>