mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 00:02:59 +00:00
Util: Add .alt to selfsigned cert alt names
This commit is contained in:
1 file changed
+3
@@ -676,6 +676,9 @@ public final class SelfSignedGenerator {
|
||||
altNames.add("localhost");
|
||||
altNames.add("127.0.0.1");
|
||||
altNames.add("::1");
|
||||
// RFC 9476
|
||||
if (cname.endsWith(".i2p"))
|
||||
altNames.add(cname + ".alt");
|
||||
}
|
||||
for (String n : altNames) {
|
||||
int len;
|
||||
|
||||
Reference in new issue
Block a user