View Issue Details

IDProjectCategoryView StatusLast Update
0004228SymmetricDSImprovementpublic2020-01-23 20:42
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.11.0 
Target Version3.11.4Fixed in Version3.11.4 
Summary0004228: Recreate keystore if missing
DescriptionRecreate the security/keystore file if it's missing. This is helpful when the keystore becomes corrupted or when the password is lost. There isn't a way to recreate it from the command line.
Steps To Reproducerm ../security/keystore
./symadmin encrypt-text test

java.security.KeyStoreException: Uninitialized keystore
    at java.security.KeyStore.store(KeyStore.java:1375)
    at org.jumpmind.security.SecurityService.checkThatKeystoreFileExists(SecurityService.java:141)
    at org.jumpmind.security.SecurityService.encrypt(SecurityService.java:148)
 [wrapped] java.lang.RuntimeException: java.security.KeyStoreException: Uninitialized keystore
    at org.jumpmind.security.SecurityService.encrypt(SecurityService.java:155)
    at org.jumpmind.symmetric.SymmetricAdmin.encryptText(SymmetricAdmin.java:451)
    at org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:334)
    at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:192)
    at org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:146)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.11 3fcb1384

2020-01-03 10:24:49

admin

Details Diff
0004228: Recreate keystore if missing Affected Issues
0004228
mod - symmetric-util/src/main/java/org/jumpmind/security/SecurityService.java Diff File

Issue History

Date Modified Username Field Change
2020-01-03 15:24 elong New Issue
2020-01-03 15:24 elong Status new => assigned
2020-01-03 15:24 elong Assigned To => elong
2020-01-03 15:25 elong Status assigned => resolved
2020-01-03 15:25 elong Resolution open => fixed
2020-01-03 15:25 elong Fixed in Version => 3.11.4
2020-01-03 16:00 admin Changeset attached => SymmetricDS 3.11 3fcb1384
2020-01-23 20:42 admin Status resolved => closed