Skip to content

Instantly share code, notes, and snippets.

View AntoineDrouhin's full-sized avatar

Antoine Drouhin AntoineDrouhin

  • Paris - France
View GitHub Profile
@AntoineDrouhin
AntoineDrouhin / main.pl
Last active November 21, 2018 14:48
Paris1 Product line course / Prolog / Printer Product Line Model.
printer(L) :-
L= [
Root,
% Print functions
Print,
IncPrint,
LazerPrint,
IncBnW,
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active December 10, 2025 16:14
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Last update: Nov 2025.

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 ecparam -genkey -name secp384r1 | openssl ec -aes256 -out rootCA.key