Skip to content

Instantly share code, notes, and snippets.

@jlosito
jlosito / ca.md
Created March 25, 2021 20:50 — 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.

Recipe: dotfiles::default
* docker_installation_package[default] action create
* apt_repository[Docker] action add
* remote_file[/tmp/kitchen/cache/https___download_docker_com_linux_ubuntu_gpg] action create (up to date)
* execute[apt-key add /tmp/kitchen/cache/https___download_docker_com_linux_ubuntu_gpg] action run (skipped due to not_if)
* execute[apt-cache gencaches] action nothing (skipped due to action :nothing)
* apt_update[Docker] action nothing (skipped due to action :nothing)
* file[/etc/apt/sources.list.d/Docker.list] action create (up to date)
(up to date)
* apt_package[docker-ce] action install

Keybase proof

I hereby claim:

  • I am jlosito on github.
  • I am jlosito (https://keybase.io/jlosito) on keybase.
  • I have a public key ASBq9g6JIlu-VtaXCNIZDmjrGR5IAXKUrMHzWm2CwCDYmQo

To claim this, I am signing this object: