mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-10-31 01:17:20 +01:00 
			
		
		
		
	rc: fix serversslcertfp function
Thanks @mgeedmin from Mikaela/mikaela.github.io#69 Other functions must still be checked probably. Closes #82
This commit is contained in:
		
							parent
							
								
									a06465d161
								
							
						
					
					
						commit
						b2eaca582a
					
				| @ -864,11 +864,11 @@ github-add-pulls() { | ||||
| serversslcertfp () { | ||||
| SSSLCFFN=$(openssl s_client -showcerts -connect $1 < /dev/null) | ||||
|     # To see all validity information | ||||
|     echo $SSSLCFFN | ||||
|     echo "$SSSLCFFN" | ||||
|     # For getting the fingerprints | ||||
|     echo $SSSLCFFN | openssl x509 -md5 -fingerprint -noout | ||||
|     echo $SSSLCFFN | openssl x509 -sha1 -fingerprint -noout | ||||
|     echo $SSSLCFFN | openssl x509 -sha256 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -md5 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -sha1 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -sha256 -fingerprint -noout | ||||
|     unset SSSLCFFN | ||||
| } | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										8
									
								
								rc/zshrc
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								rc/zshrc
									
									
									
									
									
								
							| @ -854,11 +854,11 @@ github-add-pulls() { | ||||
| serversslcertfp () { | ||||
|     SSSLCFFN=$(openssl s_client -showcerts -connect $1 < /dev/null) | ||||
|     # To see all validity information | ||||
|     echo $SSSLCFFN | ||||
|     echo "$SSSLCFFN" | ||||
|     # For getting the fingerprints | ||||
|     echo $SSSLCFFN | openssl x509 -md5 -fingerprint -noout | ||||
|     echo $SSSLCFFN | openssl x509 -sha1 -fingerprint -noout | ||||
|     echo $SSSLCFFN | openssl x509 -sha256 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -md5 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -sha1 -fingerprint -noout | ||||
|     echo "$SSSLCFFN" | openssl x509 -sha256 -fingerprint -noout | ||||
|     unset SSSLCFFN | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user