Skip to content

Instantly share code, notes, and snippets.

@ewatch
ewatch / Generating SSL certificates.md
Created July 24, 2024 12:03 — forked from x-yuri/Generating SSL certificates.md
Generating SSL certificates

Generating SSL certificates

req:

openssl req -x509 -subj /CN=root.yourdomain.com -days 3650 -noenc \
    -out root.crt -keyout root.key
  # -x509 - generate a certificate
  # -subj - subject
  # -days - validity period
@ewatch
ewatch / ca.md
Created July 24, 2024 12:02 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@ewatch
ewatch / four_elements_simple_design.md
Created March 18, 2019 19:26 — forked from O-I/four_elements_simple_design.md
The Four Elements of Simple Design

The Four Elements of Simple Design

  • Introduced by [Kent Beck][beck] in the 1990s.
  • Part of his software development methodology [Extreme Programming][extreme-programming].
  • His exact wording appears in the [White Book][white-book].

The rules can be stated as followed:

  1. Passes all tests
  2. Maximizes clarity