mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	letsencrypt: Update to match upstream refactor
Challenge names now have their own type and constants
This commit is contained in:
		
							parent
							
								
									82b049229b
								
							
						
					
					
						commit
						a6abec8210
					
				@ -346,7 +346,7 @@ func newClientPort(leEmail, port string) (*acme.Client, error) {
 | 
				
			|||||||
		client.SetHTTPAddress(":" + port)
 | 
							client.SetHTTPAddress(":" + port)
 | 
				
			||||||
		client.SetTLSAddress(":" + port)
 | 
							client.SetTLSAddress(":" + port)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	client.ExcludeChallenges([]string{"tls-sni-01", "dns-01"}) // We can only guarantee http-01 at this time, but tls-01 should work if port is not custom!
 | 
						client.ExcludeChallenges([]acme.Challenge{acme.TLSSNI01, acme.DNS01}) // We can only guarantee http-01 at this time, but tls-01 should work if port is not custom!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// If not registered, the user must register an account with the CA
 | 
						// If not registered, the user must register an account with the CA
 | 
				
			||||||
	// and agree to terms
 | 
						// and agree to terms
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user