mirror of https://github.com/go-gitea/gitea.git
Merge pull request #1358 from nice-software/wip/certCommonName
Add CommonName to the self signed certificatepull/197/head
commit
6272986192
|
@ -114,6 +114,7 @@ func runCert(ctx *cli.Context) {
|
||||||
SerialNumber: serialNumber,
|
SerialNumber: serialNumber,
|
||||||
Subject: pkix.Name{
|
Subject: pkix.Name{
|
||||||
Organization: []string{"Acme Co"},
|
Organization: []string{"Acme Co"},
|
||||||
|
CommonName: "Gogs",
|
||||||
},
|
},
|
||||||
NotBefore: notBefore,
|
NotBefore: notBefore,
|
||||||
NotAfter: notAfter,
|
NotAfter: notAfter,
|
||||||
|
|
Loading…
Reference in New Issue