Skip to content

Instantly share code, notes, and snippets.

@Spazzy757
Created March 15, 2021 06:41
Show Gist options
  • Save Spazzy757/f8343370eefdb54ac130f384dc4347b5 to your computer and use it in GitHub Desktop.
Save Spazzy757/f8343370eefdb54ac130f384dc4347b5 to your computer and use it in GitHub Desktop.
Get the certificate CA for a domain
!#/bin/bash
site=$1
openssl s_client -showcerts -verify 5 -connect $site:443 < /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment