Skip to content

Instantly share code, notes, and snippets.

@bently0602
bently0602 / openssl.MD
Created December 5, 2019 16:58 — forked from jchandra74/openssl.MD
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Overview

My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.

Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:

Self-Signed SSL Issue in Chrome

@bently0602
bently0602 / gist:f3bcbc66655c07e1e9d6
Created March 7, 2015 17:09
Search HL7 v2 Files With Powershell
# Modify the path variable
$path = "C:\Documents and Settings\BLAHBLAHBLAHUSERNAME\Desktop\HL7Messages"
$src = (Get-ChildItem $path)[1].FullName
# take hl7 message as string, convert to posh obj
function hl7-to-object {
param($src)
# go from hl7 to powershell array of objects
$msg = @()