User Tools

Site Tools


informatica:linux:apache2:certificados:fecha_y_issuer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
informatica:linux:apache2:certificados:fecha_y_issuer [2024/04/09 11:18] joseinformatica:linux:apache2:certificados:fecha_y_issuer [2024/04/29 14:39] jose
Line 1: Line 1:
-  URL=google.com;OLDIFS=$IFS; IFS=':' certificates=$(echo | openssl s_client -showcerts -servername $URL -connect $URL:443 2>/dev/null | sed -n '/-----BEGIN/,/-----END/ {/-----BEGIN/ s/^/:/; p}'); for certificate in ${certificates#:}; do echo;echo $certificate | openssl x509 -noout -subject -issuer -dates ;echo; done; IFS=$OLDIFS+Listar certificado 
 + 
 +  URL=google.com;PORT=443;OLDIFS=$IFS; IFS=':' certificates=$(echo | openssl s_client -showcerts -servername $URL -connect $URL:$PORT 2>/dev/null | sed -n '/-----BEGIN/,/-----END/ {/-----BEGIN/ s/^/:/; p}'); for certificate in ${certificates#:}; do echo;echo $certificate | openssl x509 -noout -subject -issuer -dates ;echo; done; IFS=$OLDIFS
  
 El resultado es este: El resultado es este:
informatica/linux/apache2/certificados/fecha_y_issuer.txt · Last modified: 2024/04/29 14:54 by jose