Skip to content

After finished configuration, terminate server and run again there error #11

@jasonkhoo87

Description

@jasonkhoo87

Hi,

Good day,

I tried to configure on Linux Mint. On first configuration it go through well but when you close the server and rerun back this error come out.

Loading existing keystore...
Exception in thread "main" java.io.IOException: keystore password was incorrect
at java.base/sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2109)
at java.base/sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:226)
at java.base/java.security.KeyStore.load(KeyStore.java:1502)
at com.sakethh.linkora.ServerConfiguration.createOrLoadServerKeystore(Application.kt:231)
at com.sakethh.linkora.ServerConfiguration.createOrLoadServerKeystore$default(Application.kt:209)
at com.sakethh.linkora.ApplicationKt.main(Application.kt:41)
at com.sakethh.linkora.ApplicationKt.main(Application.kt)
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.
... 7 more

EDIT:
Let me update after I experiment with the server configuration, I did use "jdbc:sqlite:linkora.db" and also "jdbc:sqlite:." . I think this cause my issue here. Sorry if this is not an correct issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions