Outils pour utilisateurs

Outils du site


tech:notes_pki_java_pk12_pk12util_certutil_libnss3-tools

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

tech:notes_pki_java_pk12_pk12util_certutil_libnss3-tools [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:notes_pki_java_pk12_pk12util_certutil_libnss3-tools [2025/11/07 14:03] (Version actuelle) Jean-Baptiste
Ligne 81: Ligne 81:
  
 for host in ${hosts}; do for host in ${hosts}; do
-  echo ""openssl s_client -connect ${host} -prexit 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > "${host}.crt"+  openssl s_client -connect ${host} -prexit </dev/null 2>/dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > "${host}.crt"
   certutil -d sql:$HOME/.pki/nssdb -A  -t P,P,P -n "${host}" -i ${host}.crt   certutil -d sql:$HOME/.pki/nssdb -A  -t P,P,P -n "${host}" -i ${host}.crt
   rm ${host}.crt   rm ${host}.crt
tech/notes_pki_java_pk12_pk12util_certutil_libnss3-tools.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki