mirror of
				https://github.com/hiskang/acme.sh
				synced 2025-11-03 20:07:43 +00:00 
			
		
		
		
	add debug info
This commit is contained in:
		
							parent
							
								
									067d586c1c
								
							
						
					
					
						commit
						cae9cee295
					
				
							
								
								
									
										1
									
								
								acme.sh
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								acme.sh
									
									
									
									
									
								
							@ -894,6 +894,7 @@ _calcjwk() {
 | 
				
			|||||||
    if [ -z "$crv" ] ; then
 | 
					    if [ -z "$crv" ] ; then
 | 
				
			||||||
      _debug "Let's try ASN1 OID"
 | 
					      _debug "Let's try ASN1 OID"
 | 
				
			||||||
      crv_oid="$(openssl ec  -in $keyfile  -noout -text 2>/dev/null | grep "^ASN1 OID:" | cut -d ":" -f 2 | tr -d " \r\n")"
 | 
					      crv_oid="$(openssl ec  -in $keyfile  -noout -text 2>/dev/null | grep "^ASN1 OID:" | cut -d ":" -f 2 | tr -d " \r\n")"
 | 
				
			||||||
 | 
					      _debug3 crv_oid "$crv_oid"
 | 
				
			||||||
      case "${crv_oid}" in
 | 
					      case "${crv_oid}" in
 | 
				
			||||||
        "prime256v1")
 | 
					        "prime256v1")
 | 
				
			||||||
        crv="P-256"
 | 
					        crv="P-256"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user