https://www.atomictag.com/2021/03/27/extract-all-certificates-chain-from-url/
Extract all SSL certificate's chain from an URL