Skip to content

Instantly share code, notes, and snippets.

View bayucandra's full-sized avatar
🙂

Bayu Candra bayucandra

🙂
View GitHub Profile
@bayucandra
bayucandra / download.go
Created April 7, 2022 09:52 — forked from albulescu/download.go
golang download file with progress
package main
/**
* @website http://albulescu.ro
* @author Cosmin Albulescu <cosmin@albulescu.ro>
*/
import (
"bytes"
"fmt"
@bayucandra
bayucandra / self-signed-certificate-with-custom-ca.md
Created January 3, 2020 01:50 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096