Skip to content

Instantly share code, notes, and snippets.

@creepteks
creepteks / Dockerfile
Created September 15, 2020 05:09 — forked from novabyte/Dockerfile
A small Docker-based build setup to create and build Go code with Nakama server.
FROM heroiclabs/nakama-pluginbuilder:2.11.0 AS builder
ENV GO111MODULE on
ENV CGO_ENABLED 1
WORKDIR /backend
COPY . .
RUN go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so
@creepteks
creepteks / self-signed-certificate-with-custom-ca.md
Last active December 24, 2020 10:31 — 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