天天看點

failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not prope

我這個錯誤是在es 其中失敗的時候報出來的:

Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

# # 錯誤原因就是

 在 elasticsearch.yml  配置證書密碼的時候,配置的密碼錯了。這個是證書生成的時候的密碼。

繼續閱讀