📅  最后修改于: 2022-03-11 14:50:35.661000             🧑  作者: Mango
curl --cert-status -v https://www.google.com 2>&1 | awk 'BEGIN { cert=0 } /^\* Server certificate:/ { cert=1 } /^\*/ { if (cert) print }'