Explicitly set zero length path constraint (#5)

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk
2018-06-28 04:28:23 +02:00
committed by Filippo Valsorda
parent 3532f34209
commit 222b4f1035

View File

@@ -224,6 +224,8 @@ func (m *mkcert) newCA() {
BasicConstraintsValid: true,
IsCA: true,
MaxPathLen: 0,
MaxPathLenZero: true,
}
pub := priv.PublicKey