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
Next revisionBoth sides next revision
informatica:linux:apache2:certificados:fecha_y_issuer [2024/04/18 15:47] joseinformatica:linux:apache2:certificados:fecha_y_issuer [2024/04/29 14:39] jose
Line 1: Line 1:
 Listar certificado Listar certificado
  
-  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+  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/06/05 15:22 by jose