Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After some time oxauth running keys idToken can't be issued due to keys problem #1229

Closed
yuriyz opened this issue Jan 15, 2020 · 1 comment
Closed
Assignees
Labels
bug bug in code high priority resolution must be prioritized
Milestone

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Jan 15, 2020

Describe the issue

After some time oxauth fails to issue id_token because it can't find key by alias in keystore.

2019-12-12 12:17:23,936 ERROR [qtp105704967-11] [org.gluu.oxauth.model.crypto.OxAuthCryptoProvider] (OxAuthCryptoProvider.java:229) - Failed to find private key by kid: 6c81445b-19cb-4d4e-9e27-9e0568840c91_sig_rs256, signatureAlgorithm: RS256(check whether web keys JSON in persistence corresponds to keystore file.)
2019-12-12 12:17:23,936 ERROR [qtp105704967-11] [org.gluu.oxauth.model.common.AuthorizationGrant] (AuthorizationGrant.java:266) - Failed to find private key by kid: 6c81445b-19cb-4d4e-9e27-9e0568840c91_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: 6c81445b-19cb-4d4e-9e27-9e0568840c91_sig_rs256, signatureAlgorithm: RS256(check whether web keys JSON in persistence corresponds to keystore file.)

Steps To Reproduce

No steps, it happens randomly.

@yuriyz yuriyz added bug bug in code high priority resolution must be prioritized labels Jan 15, 2020
@yuriyz yuriyz added this to the 4.1 milestone Jan 15, 2020
@yuriyz yuriyz self-assigned this Jan 15, 2020
yuriyz added a commit that referenced this issue Jan 15, 2020
yuriyz added a commit that referenced this issue Jan 16, 2020
yuriyz added a commit that referenced this issue Jan 16, 2020
yuriyz added a commit that referenced this issue Jan 17, 2020
yuriyz added a commit that referenced this issue Jan 17, 2020
@yuriyz
Copy link
Contributor Author

yuriyz commented Jan 17, 2020

Fixed in master and 4.1. (Also created patched version for 4.0 customers https://ox.gluu.org/maven/org/gluu/oxauth-server/4.0.Final.patch1/oxauth-server-4.0.Final.patch1.war)

@yuriyz yuriyz closed this as completed Jan 17, 2020
yuriyz added a commit that referenced this issue Jan 17, 2020
yuriyz added a commit that referenced this issue Jan 19, 2020
#1229

(cherry picked from commit bc64b76)

(cherry picked from commit 7062eb7)
yuriyz added a commit that referenced this issue Jan 20, 2020
yuriyz added a commit that referenced this issue Jan 20, 2020
yuriyz added a commit that referenced this issue Jan 20, 2020
yuriyz added a commit that referenced this issue Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug in code high priority resolution must be prioritized
Projects
None yet
Development

No branches or pull requests

1 participant