StaticextractExtracts the full certificate chain from a server
Server hostname
Server port (default: 443)
Promise resolving to certificate chain
StaticextractExtracts certificates from a URL string
Full URL (e.g., 'https://server.com:443')
Promise resolving to certificate chain
StaticsaveSaves certificate chain to file
Certificate chain to save
Path to save the bundle
StaticsharesCompares two certificate chains to see if they share the same root CA
First certificate chain
Second certificate chain
True if they share the same root CA
Utility class for extracting SSL certificates from servers