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 July 8, 2025 11:45
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