mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 12:53:43 +01:00 
			
		
		
		
	Merge pull request #1358 from nice-software/wip/certCommonName
Add CommonName to the self signed certificate
This commit is contained in:
		
						commit
						6272986192
					
				@ -114,6 +114,7 @@ func runCert(ctx *cli.Context) {
 | 
			
		||||
		SerialNumber: serialNumber,
 | 
			
		||||
		Subject: pkix.Name{
 | 
			
		||||
			Organization: []string{"Acme Co"},
 | 
			
		||||
			CommonName: "Gogs",
 | 
			
		||||
		},
 | 
			
		||||
		NotBefore: notBefore,
 | 
			
		||||
		NotAfter:  notAfter,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user