Running the workspace environment from scratch with SSL routines::wrong version numbe

Description

When I try to run the Workspace environment from scratch and send a request to a service I get error.

Steps to reproduce

  1. Clone the workspace repository into $GOPATH/src/gitlab.eclipse.org/eclipse/xfsc/tsa/workspace
  2. Run ./setup.sh
  3. Run docker-compose up -d
  4. Install mkcert by clicking the link and following the instructions for the respective OS
  5. Run mkcert -install
  6. Execute cd $GOPATH/src/git@gitlab.eclipse.org:eclipse/xfsc/tsa/workspace.git/workspace
  7. Run mkcert -cert-file nginx/localhost.crt -key-file nginx/localhost.key localhost
  8. Run docker-compose restart nginx
  9. Execute curl --location 'https://localhost:8081/liveness'

Expected

200 OK

Actual

curl: (35) OpenSSL/3.1.1: error:0A00010B:SSL routines::wrong version number