Skip to content

Instantly share code, notes, and snippets.

View JackMBurch's full-sized avatar

Jack Burch JackMBurch

  • 20:29 (UTC -04:00)
View GitHub Profile
powershell (Add-Type '[DllImport(\"user32.dll\")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2)
KeithYeh / Self-Signed SSL with
Created October 14, 2017 13:12
Create self-signed SSL certificate with SubjectAltName(SAN)

How to create a self-signed SSL Certificate with SubjectAltName(SAN)

After Chrome 58, self-signed certificate without SAN is not valid anymore.

Step 1: Generate a Private Key

openssl genrsa -des3 -out 2048

Step 2: Generate a CSR (Certificate Signing Request)

AlexBedley / squirrels
Last active June 12, 2024 20:55
ship it squirrels