Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory, open '/etc/ssl/cert.pem' #6

Open
algerrr opened this issue Jan 15, 2022 · 2 comments
Open

Comments

@algerrr
Copy link

algerrr commented Jan 15, 2022

Tried to clone the repo.
Did an npm install. Then npm start. Received this error.

image

@algerrr
Copy link
Author

algerrr commented Jan 16, 2022

After creating a self signed certificate for the server, going to this url, I am getting this error.

image
image

@ankit18-259
Copy link

If anyone else is starting out here and getting the same error, simple remove

    ssl: {
      mode: 'VERIFY_IDENTITY',
      ca: fs.readFileSync('/etc/ssl/cert.pem', 'utf-8'),
    }

from src/configs/db.config.js

Hope it will solve your issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants