This repository has been archived by the owner on May 28, 2023. It is now read-only.
Make self-signed certificates work for development #287
Labels
1: Easy
feature request
Requests for new features. Please be as specific as possible
good first issue
P1: Urgent
Priority mark - high priority
If the connected Magento (1.9 in our case) shop uses a self-signed certificate, e.g. in development environment, the API will drop the error message
Error occured: Error: self signed certificate
and won’t be able to connect to your Magento instance using e.g.DivanteLtd/magento1-vsbridge
andDivanteLtd/magento1-vsbridge-client
.To prevent this behavior and make a dev environment work, you can disable TLS rejection using an env variable called
NODE_TLS_REJECT_UNAUTHORIZED
.In our case we added it to our
docker-compose
file like:!!! Of course, this shouldn't be used in a production environment.
The text was updated successfully, but these errors were encountered: