Opened 4 years ago

Closed 4 years ago

#1866 closed defect (fixed)

SSL Console fail (keygen)

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.28
Component: apps/console Version: 0.9.25
Keywords: Cc:
Parent Tickets: Sensitive: no



2016/10/14 23:23:09 | Failed to create console SSL keystore.
2016/10/14 23:23:09 | This is for the Sun/Oracle keytool, others may be incompatible.
2016/10/14 23:23:09 | If you create the keystore manually, you must add routerconsole.keystorePassword and routerconsole.keyPassword to /home/user/.i2p/router.config
2016/10/14 23:23:09 | Unable to create or access keystore for SSL: /home/user/.i2p/keystore/console.ks
2016/10/14 23:23:09 | Unable to bind routerconsole to any address on port null or SSL port 9898


Change History (3)

comment:1 Changed 4 years ago by zzz

Owner: set to zzz
Status: newaccepted
ERROR [uter Console] net.i2p.crypto.KeyStoreUtil : Create keys error /var/lib/i2p/i2p-config/keystore/console.ks (No such file or directory)
     at Method)
     at net.i2p.util.SecureFileOutputStream.<init>(
     at net.i2p.crypto.KeyStoreUtil.createKeyStore(
     at net.i2p.crypto.KeyStoreUtil.storePrivateKey(
     at net.i2p.crypto.KeyStoreUtil.createKeysAndCRL(
     at net.i2p.crypto.KeyStoreUtil.createKeysAndCRL(
     at net.i2p.crypto.KeyStoreUtil.createKeys(
     at net.i2p.crypto.KeyStoreUtil.createKeys(
     at net.i2p.router.web.RouterConsoleRunner.createKeyStore(
     at net.i2p.router.web.RouterConsoleRunner.verifyKeyStore(
     at net.i2p.router.web.RouterConsoleRunner.startConsole(
     at net.i2p.router.web.RouterConsoleRunner.startup(
     at net.i2p.router.startup.RouterAppManager.addAndStart(
     at net.i2p.router.startup.LoadClientAppsJob$

comment:2 Changed 4 years ago by zzz

Not a keystore problem, just didn't make the directory.

Workaround is to mkdir /home/user/.i2p/keystore/ and restart

Last edited 4 years ago by zzz (previous) (diff)

comment:3 Changed 4 years ago by zzz

Resolution: fixed
Status: acceptedclosed
Summary: SSL Console fail in UbuntuSSL Console fail (keygen)

In 49c17c0af9b0ec564f37e4949222270fa92a674e 0.9.27-3

This was broken in 0.9.25 and was not limited to Debian/Ubuntu?.
When we switched to the new method of key generation, we omitted the mkdir step.

Note: See TracTickets for help on using tickets.