Skip to content

Instantly share code, notes, and snippets.

View arijoon's full-sized avatar
💭
🇬🇧

arijoon

💭
🇬🇧
View GitHub Profile
{ pkgs, lib, config, ... }: with lib.types;
let
postgresqlInstanceType = submodule {
options.connectionString = lib.mkOption {
type = str;
};
};
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active August 19, 2025 21:52
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