Skip to content

Instantly share code, notes, and snippets.

View dijitali's full-sized avatar
🤠

Ieuan dijitali

🤠
View GitHub Profile
@jstangroome
jstangroome / Get-RemoteSSLCertificate.ps1
Last active June 12, 2024 16:09
PowerShell script to retrieve the public X509 certificate from a remote TLS endpoint
[CmdletBinding()]
param (
[Parameter(Mandatory=$true)]
[string]
$ComputerName,
[int]
$Port = 443
)