vendure-ecommerce/vendure

PostgreSQL Databases with SSL enforced not supported by create and populate

Closed this issue · 0 comments

tomh4 commented

Describe the bug
If e.g. an external database is used which requires SSL, @vendure/create fails once connecting and when populating.

To Reproduce
Steps to reproduce the behavior:

  1. npx @vendure/create test
  2. Select PostgreSQL
  3. Add a db connection which requires ssl
  4. See error

Expected behavior
SSL should be an option

Environment (please complete the following information):

  • @vendure/core version: 2.2.5
  • @vendure/create version: 2.2.5
  • Nodejs version: 18/20
  • Database (mysql/postgres etc): postgres

Additional context
I made a fork to fix this