mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	minor support to specify API
This commit is contained in:
		
							parent
							
								
									63f046759e
								
							
						
					
					
						commit
						4b853d3c1e
					
				
							
								
								
									
										6
									
								
								le.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								le.sh
									
									
									
									
									
								
							| @ -5,8 +5,14 @@ PROJECT="https://github.com/Neilpang/le" | |||||||
| DEFAULT_CA="https://acme-v01.api.letsencrypt.org" | DEFAULT_CA="https://acme-v01.api.letsencrypt.org" | ||||||
| DEFAULT_AGREEMENT="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf" | DEFAULT_AGREEMENT="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf" | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | if [ -z "$API" ] ; then | ||||||
|   API="$DEFAULT_CA" |   API="$DEFAULT_CA" | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | if [ -z "$AGREEMENT" ] ; then | ||||||
|   AGREEMENT="$DEFAULT_AGREEMENT" |   AGREEMENT="$DEFAULT_AGREEMENT" | ||||||
|  | fi | ||||||
| 
 | 
 | ||||||
| _debug() { | _debug() { | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user