mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	[Vendor] update certmagic (#15590)
* update github.com/caddyserver/certmagic v0.12.0 -> v0.13.0 * migrate
This commit is contained in:
		@@ -32,7 +32,7 @@ func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler)
 | 
			
		||||
		DisableTLSALPNChallenge: !enableTLSALPNChallenge,
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	magic.Issuer = myACME
 | 
			
		||||
	magic.Issuers = []certmagic.Issuer{myACME}
 | 
			
		||||
 | 
			
		||||
	// this obtains certificates or renews them if necessary
 | 
			
		||||
	err := magic.ManageSync([]string{domain})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user