unix:ssl

SSL

seq 10 | xargs -I@ -n1 curl -kso /dev/null -w "tcp:%{time_connect}, ssldone:%{time_appconnect}\n" https://wiki.sysop.cafe
domain=www.google.com; days=14; echo | openssl s_client -connect $domain:443 2>/dev/null | openssl x509 -noout -checkend $(($days * 24 * 60 * 60)) -enddate
openssl req -x509 -newkey rsa:4096 -keyout privkey.pem -out fullchain.pem -days 365 -nodes
openssl pkcs12 -export -out cert.pfx -inkey privkey.pem -in fullchain.pem
openssl pkcs12 -info -in  cert.pfx #to verify
  • unix/ssl.txt
  • Last modified: 2021-05-06T14:30:03+0200
  • by Wolfgang