Commit 88d20dd
authored
Support SAN for Go 1.15+ (#123)
Starting from Go 1.15+ Certificate without subjectAltName will fail with error: "x509: certificate relies on legacy Common Name field"
More info: golang/go#39568
This is only for Domain name and does not support IP Address: https://godoc.org/crypto/x509#Certificate1 parent c7fb6e6 commit 88d20dd
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments