josefglatz / dotfiles

My personal dotfiles mainly for ZSH, oh-my-zsh and 👨‍💻 macOS. Due to it's complexity I don't recommend to use it with a fork. If you want start with your own dotfiles I recommend reading https://driesvints.com/blog/getting-started-with-dotfiles/, https://dotfiles.github.io and https://github.com/webpro/awesome-dotfiles.
1 stars 0 forks source link

Certificate Checks functions/aliases #22

Open josefglatz opened 3 years ago

josefglatz commented 3 years ago

Get domains/subdomains of a local certificate file

openssl x509 -in domaincertificatefile.cert -noout -text |grep DNS

Check Certificate on Webserver on a specific Host (e.g. before changing DNS-Records)

curl -s --resolve domain-a.at:443:128.204.134.98 https://domain-a.at -v 2>&1 |egrep "443|subject:"