#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 thank you! Didn’t know I needed it, but just be able to use curl for that is great!