I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 96185d01 authored by zzz's avatar zzz
Browse files

Set default organization for self-signed certs

parent 65484510
No related branches found
No related tags found
No related merge requests found
...@@ -598,7 +598,7 @@ public final class KeyStoreUtil { ...@@ -598,7 +598,7 @@ public final class KeyStoreUtil {
if (!sdir.mkdirs()) if (!sdir.mkdirs())
throw new IOException("Can't create directory " + dir); throw new IOException("Can't create directory " + dir);
} }
Object[] rv = SelfSignedGenerator.generate(cname, ou, null, "I2P Anonymous Network", null, null, validDays, type); Object[] rv = SelfSignedGenerator.generate(cname, ou, "I2P", "I2P Anonymous Network", null, null, validDays, type);
//PublicKey jpub = (PublicKey) rv[0]; //PublicKey jpub = (PublicKey) rv[0];
PrivateKey jpriv = (PrivateKey) rv[1]; PrivateKey jpriv = (PrivateKey) rv[1];
X509Certificate cert = (X509Certificate) rv[2]; X509Certificate cert = (X509Certificate) rv[2];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment