Skip to content

Instantly share code, notes, and snippets.

@calebbaker
calebbaker / Get-RemoteSSLCertificate.ps1
Created March 14, 2022 15:33 — forked from jstangroome/Get-RemoteSSLCertificate.ps1
PowerShell script to retrieve the public X509 certificate from a remote TLS endpoint
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string]
$ComputerName,
[int]
$Port = 443
)
####
#### CLI Field Manual: An assortment of useful information and commands
#### Caleb Baker - caleb@calebbaker.net
####
#### The goal of this document is to provide an reference of commands I've found useful (but use infrequently enough not to remember off the top of my head), and keep the output as grepable as possible.
#### It's intended primarily for my personal use.
####
#### Sections
#### Linux CLI (Cross platform go here)
#### Powershell
@calebbaker
calebbaker / keybase.md
Created March 12, 2018 22:28
Keybase Proof

Keybase proof

I hereby claim:

  • I am calebbaker on github.
  • I am calebbaker (https://keybase.io/calebbaker) on keybase.
  • I have a public key ASAqn3L0F7M8lDsIXh64B2ZUpPo0gdfRcMIcckZRXhD2ego

To claim this, I am signing this object: