#curl -w certs https://daniel.haxx.se/blog/2022/12/28/curl-w-certs/ - curl can now output the server certificates in PEM format
curl -w certs | daniel.haxx.se

@bagder Great functionality! fwiw, you have unmatched quotes in your article 🙂 (curl https://curl.se -w '%{certs}" - single vs. double. other than that, a really killer feature!)
curl

@otis thanks for pointing that out, fixed now!