Installation fails after enabling SSL

Hi, I had similar problem and I needed to tweak config.json.
Try to add:

"dialectOptions": {
        "ssl": {
          "require": true,
          "rejectUnauthorized": false
        }
      }