First generate rootCA, client and server certificates
./generate_certs.sh
yarn es server.ts
node-fetch
yarn es clientFetch.ts
http.get
yarn es clientHttp.ts
undici fetch
yarn es clientUndici.ts
yarn clean
openssl verify -CAfile rootCA.crt client.crt
openssl verify -CAfile rootCA.crt server.crt