By: Surit Aryal user 19 Dec 2019 at 10:25 p.m. CST

1 Response
Surit Aryal gravatar
Hello, I encountered an issue with signing .jar files using private key. This is the issue I got 2019-12-18 11:17:32,180 INFO [qtp105704967-18] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:276) - Authentication success for Client: '10c9a098-c920-49f4-9199-2ea64b03ed11' 2019-12-18 11:17:32,189 ERROR [qtp105704967-18] [org.gluu.oxauth.model.crypto.OxAuthCryptoProvider] (OxAuthCryptoProvider.java:229) - Failed to find private key by kid: 65a7de4c-fcb0-4472-92a0-898a65bd70ab_sig_rs256, signatureAlgorithm: RS256(check whether web keys JSON in persistence corresponds to keystore file.) 2019-12-18 11:17:32,190 ERROR [qtp105704967-18] [org.gluu.oxauth.model.common.AuthorizationGrant] (AuthorizationGrant.java:266) - Failed to find private key by kid: 65a7de4c-fcb0-4472-92a0-898a65bd70ab_sig_rs256, signatureAlgorithm: RS256(check whether web keys JSON in persistence corresponds to keystore file.) java.lang.RuntimeException: Failed to find private key by kid: 65a7de4c-fcb0-4472-92a0-898a65bd70ab_sig_rs256, signatureAlgorithm: RS256(check whether web keys JSON in persistence corresponds to keystore file.) I followed the tutorial in the official document https://gluu.org/docs/ce/admin-guide/certificate/ But the link mentioned in the document https://ox.gluu.org/maven/org.gluu/oxauth-client/4.0/oxauth-client-4.0-jar-with-dependencies.jar doesn't work. I get a 404 error while browsing the link in the web. Can you please guide me with the proper link and also guide me with the rest of the process. The last time I signed the key it worked only for a day. I am quite new to this so a detailed explanation would be much appreciated. Thanks

By Yuriy Zabrovarnyy staff 19 Dec 2019 at 11:39 p.m. CST

Yuriy Zabrovarnyy gravatar
Here is the right link: https://ox.gluu.org/maven/org/gluu/oxauth-client/4.0/oxauth-client-4.0-jar-with-dependencies.jar Just follow doc: https://gluu.org/docs/ce/admin-guide/certificate/ And here also a bit outdated example but you will get an idea: https://github.com/GluuFederation/support-docs/blob/master/troubleshooting/oxAuth/oxAuth_key_regeneration.md