mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-10-31 02:17:18 +00:00 
			
		
		
		
	2.3.5: skip domain verify if the authorization is already valid, add to production server.
This commit is contained in:
		
							parent
							
								
									ec603beeb0
								
							
						
					
					
						commit
						d35bf51780
					
				
							
								
								
									
										6
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								acme.sh
									
									
									
									
									
								
							| @ -1,6 +1,6 @@ | |||||||
| #!/usr/bin/env sh | #!/usr/bin/env sh | ||||||
| 
 | 
 | ||||||
| VER=2.3.4 | VER=2.3.5 | ||||||
| 
 | 
 | ||||||
| PROJECT_NAME="acme.sh" | PROJECT_NAME="acme.sh" | ||||||
| 
 | 
 | ||||||
| @ -1510,13 +1510,13 @@ issue() { | |||||||
|       keyauthorization="$token.$thumbprint" |       keyauthorization="$token.$thumbprint" | ||||||
|       _debug keyauthorization "$keyauthorization" |       _debug keyauthorization "$keyauthorization" | ||||||
| 
 | 
 | ||||||
|       if [ "$STAGE" ] ; then | 
 | ||||||
|       if printf "$response" | grep '"status":"valid"' >/dev/null 2>&1 ; then |       if printf "$response" | grep '"status":"valid"' >/dev/null 2>&1 ; then | ||||||
|         _info "$d is already verified, skip." |         _info "$d is already verified, skip." | ||||||
|         keyauthorization=$STATE_VERIFIED |         keyauthorization=$STATE_VERIFIED | ||||||
|         _debug keyauthorization "$keyauthorization" |         _debug keyauthorization "$keyauthorization" | ||||||
|       fi |       fi | ||||||
|       fi | 
 | ||||||
| 
 | 
 | ||||||
|       dvlist="$d$sep$keyauthorization$sep$uri$sep$vtype$sep$_currentRoot" |       dvlist="$d$sep$keyauthorization$sep$uri$sep$vtype$sep$_currentRoot" | ||||||
|       _debug dvlist "$dvlist" |       _debug dvlist "$dvlist" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user