You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Had this happen to me, putting this here so we have a better error msg in the future. If your cert's filename does not match its alias, you'll get a cryptic exception about a keystore not allowing non-private keys, when really it is because the key is null, which is because there was no key associated with the alias, which is because the alias was wrong, which is because the filename was wrong. Wowsa!
The text was updated successfully, but these errors were encountered:
I would suggest having the cert alias be a configuration property instead of assuming the cert alias is the keystore file base name. We also just ran into this.
Had this happen to me, putting this here so we have a better error msg in the future. If your cert's filename does not match its alias, you'll get a cryptic exception about a keystore not allowing non-private keys, when really it is because the key is null, which is because there was no key associated with the alias, which is because the alias was wrong, which is because the filename was wrong. Wowsa!
The text was updated successfully, but these errors were encountered: