天天看点

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  配置证书密码的时候,配置的密码错了。这个是证书生成的时候的密码。

继续阅读