- curl checks the certificate before HTTP: the issuer is in the trust store, the name from the address is in the SAN, the current time is between notBefore and notAfter. If any check fails — code 60 and the reason in the error text.
openssl s_client … | openssl x509 -noout …shows the certificate a server serves, andopenssl x509 -inshows a certificate in a file.- A new certificate is issued from a CSR made with the existing key: the CA adds its signature and a new validity period, and
-copy_extensions copycarries the SAN over. - secure.lab.test from the start of the lesson: nginx was running, but curl closed the connection because the certificate's notAfter was three days in the past.
Step 8 of 8 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson