Https not working on the WSL2 docker magento 2 , so the VSF-API cannot communicate.

I have got Windows with WSL 2 ubuntu and docker working with WSL2. I am working with the https://github.com/markshust/docker-magento as my Magento 2 Instance. It works fine except on WSL2 the SSL certificate not being evaluated properly. So I cant make VSF-API connect to Magento API. Does anyone had something similar, if yes how do you solved it. Regards, Vyacheslav Shmal
GitHub
GitHub - markshust/docker-magento: Mark Shust's Docker Configuratio...
Mark Shust's Docker Configuration for Magento. Contribute to markshust/docker-magento development by creating an account on GitHub.
Solution:
Nevermind, I work it out. For those who had simmilar problem. I make a lot of changes , the latest ones where https://github.com/markshust/docker-magento/discussions/662 https://github.com/markshust/docker-magento/discussions/372...
GitHub
Docker-magento SSL Certificate Error · markshust docker-magento · D...
I have set up docker-magento on Ubuntu but having problems with the SSL certificate as it is not trusted. I run the commands to generate the SSL CA certificate and set up the certificate (both with...
GitHub
Documentation for WSL2 · markshust docker-magento · Discussion #372
I know there are those running docker-magento on WSL2. Be the first to document how to set it up, and if I'm able to replicate it, pick out any course at M.academy and it's yours for free.
Jump to solution
2 Replies
Solution
Vyacheslav Shmal (Slavik)
Nevermind, I work it out. For those who had simmilar problem. I make a lot of changes , the latest ones where https://github.com/markshust/docker-magento/discussions/662 https://github.com/markshust/docker-magento/discussions/372
GitHub
Docker-magento SSL Certificate Error · markshust docker-magento · D...
I have set up docker-magento on Ubuntu but having problems with the SSL certificate as it is not trusted. I run the commands to generate the SSL CA certificate and set up the certificate (both with...
GitHub
Documentation for WSL2 · markshust docker-magento · Discussion #372
I know there are those running docker-magento on WSL2. Be the first to document how to set it up, and if I'm able to replicate it, pick out any course at M.academy and it's yours for free.
Vyacheslav Shmal (Slavik)
also used NODE_TLS_REJECT_UNAUTHORIZED=0