mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 04:14:01 +01:00 
			
		
		
		
	Backport #33072 by wxiaoguang Haven't really confirmed, but I think it might fix #32191 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		
							parent
							
								
									81768675d4
								
							
						
					
					
						commit
						d371aa3031
					
				@ -54,7 +54,7 @@ func runACME(listenAddr string, m http.Handler) error {
 | 
			
		||||
		altTLSALPNPort = p
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	magic := certmagic.NewDefault()
 | 
			
		||||
	magic := &certmagic.Default
 | 
			
		||||
	magic.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
 | 
			
		||||
	// Try to use private CA root if provided, otherwise defaults to system's trust
 | 
			
		||||
	var certPool *x509.CertPool
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user