Changeset 935ba77d


Ignore:
Timestamp:
Feb 19, 2018 7:40:04 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ad4eef9
Parents:
673d765
Message:

Console: Change selfsigned cert cname to localhost (ticket #2160)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r673d765 r935ba77d  
    862862        // make a random 48 character password (30 * 8 / 5)
    863863        String keyPassword = KeyStoreUtil.randomString();
    864         // and one for the cname
    865         String cname = KeyStoreUtil.randomString() + ".console.i2p.net";
     864        String cname = "localhost";
    866865        boolean success = KeyStoreUtil.createKeys(ks, "console", cname, "Console", keyPassword);
    867866        if (success) {
     
    885884        if (success) {
    886885            System.err.println("Created self-signed certificate for " + cname + " in keystore: " + ks.getAbsolutePath() + "\n" +
    887                                "The certificate name was generated randomly, and is not associated with your " +
     886                               "The certificate was generated randomly, and is not associated with your " +
    888887                               "IP address, host name, router identity, or destination keys.");
    889888        } else {
Note: See TracChangeset for help on using the changeset viewer.