mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	do not retry for a invalid cert in cronjob.
fix https://github.com/Neilpang/acme.sh/issues/939
This commit is contained in:
		
							parent
							
								
									ac7361a55e
								
							
						
					
					
						commit
						c4d0aec536
					
				
							
								
								
									
										5
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								acme.sh
									
									
									
									
									
								
							| @ -4033,6 +4033,11 @@ renew() { | |||||||
|     return "$RENEW_SKIP" |     return "$RENEW_SKIP" | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
|  |   if [ "$IN_CRON" = "1" ] && [ -z "$Le_CertCreateTime" ]; then | ||||||
|  |     _info "Skip invalid cert for: $Le_Domain" | ||||||
|  |     return 0 | ||||||
|  |   fi | ||||||
|  | 
 | ||||||
|   IS_RENEW="1" |   IS_RENEW="1" | ||||||
|   issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" |   issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" | ||||||
|   res="$?" |   res="$?" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user