This repository was created for a hands-on session.
This repository is supporting material to learn more about certificates, openssl
, and how chains
of trust work.
Before starting with the hands-on, we recommend preforming the docker build step below, as it can take a couple of minutes.
This repository requires docker
to be installed to launch the required tooling. In order to build
the image, run:
docker build -t shell:latest .
In order to run the shell, use:
docker run --rm -e PS1 -v .:/app/host:rw -it shell:latest
Your current working directory will be available under /app/host
in the Docker container, so that
you can edit files in the repository and have access to them inside the container.
In order to build the Java application, spawn a shell via Docker:
docker run --name shell -e PS1 -p 8443:8443 -v .:/app/host:rw -it shell:latest
If the Docker container already exists (see docker ps -a
), you can start and attach it:
docker start shell
docker attach shell
Then go to the shared directory and compile the project:
cd host
mvn clean compile
This repository contains two markdown files which serve as tutorials:
Simply navigate to these files and follow the tutorials. Make sure you understand why you perform each step.