- This project contains code from the end of week 6 lab for the use in the week 7 material.
Not included in this repository is the key-pair required for JWT encoding/decoding, so you will have to recreate them as you did:
Open a mac/linux/WSL/Git Bash terminal and navigate (cd command) to the project directory and then to src/main/resources and enter the following commands
mkdir certs
cd certs
openssl genrsa -out keypair.pem 2048
openssl rsa -in keypair.pem -pubout -out public.pem
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out private.pem
rm keypair.pemNow if you check the folder you are in (either with ls, dir or by looking in the folder browser in your IDE) you should see the generated key-pair public.pem and private.pem
Andy