Skip to content

Instantly share code, notes, and snippets.

View falmar's full-sized avatar

David Lavieri falmar

  • flipflow.io
  • Spain
View GitHub Profile
@falmar
falmar / openssl.MD
Created February 22, 2019 20:18 — 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

@falmar
falmar / main.go
Created October 12, 2019 19:13
Update Laravel's migrations varchar to max length of 191 for allowing use of utf8mb4
package main
import (
"bufio"
"bytes"
"fmt"
"io"
"log"
"os"
"path/filepath"