Docker-compose, wsl2 and self signed SSL certificate
Budget: $30 – $250 USD
Are you a Docker-compose expert that knows how to do self signed SSL? We need your help. Read below!
I am needing a solution to this same situation that is posted on Stackoverflow. https://stackoverflow.com/questions/70593721/docker-compose-wsl2-and-self-signed-ssl-certificate
--- START COMMENT from Stackoverflow ---
So I'm using docker-compose to set up local dev environments while I'm working on WordPress sites. And now I'm trying to fix so I can get an self signed SSL certificate for that local dev environment. But all I end up with when I'm trying to visit the site is ERR_CONNECTION_CLOSED and nothing in the error log or anything.
So I can visit the site without https, and everything is working fine. But when i'm trying to visit the site with https I get the error ERR_CONNECTION_CLOSED, and I have no idea where to start. I have tried many different solutions but so far no luck.
Also good to be know that I have pointed dev.mydomain.com to 127.0.0.1 in the dns. And also added it in my host file on Windows.
But I have a feeling that there is something I'm missing here.
And my plan is to have a wildcard domain pointed to localhost, and make the docker-compose installation more or less automatic to set up self signed certificates when I run docker-compose up -d
So I hope someone out there have the solution or can point me to the right direction :)
--- END COMMENT from Stackoverflow ---
I am needing a solution to this same situation that is posted on Stackoverflow. https://stackoverflow.com/questions/70593721/docker-compose-wsl2-and-self-signed-ssl-certificate
--- START COMMENT from Stackoverflow ---
So I'm using docker-compose to set up local dev environments while I'm working on WordPress sites. And now I'm trying to fix so I can get an self signed SSL certificate for that local dev environment. But all I end up with when I'm trying to visit the site is ERR_CONNECTION_CLOSED and nothing in the error log or anything.
So I can visit the site without https, and everything is working fine. But when i'm trying to visit the site with https I get the error ERR_CONNECTION_CLOSED, and I have no idea where to start. I have tried many different solutions but so far no luck.
Also good to be know that I have pointed dev.mydomain.com to 127.0.0.1 in the dns. And also added it in my host file on Windows.
But I have a feeling that there is something I'm missing here.
And my plan is to have a wildcard domain pointed to localhost, and make the docker-compose installation more or less automatic to set up self signed certificates when I run docker-compose up -d
So I hope someone out there have the solution or can point me to the right direction :)
--- END COMMENT from Stackoverflow ---