This is driving me crazy, I’ve followed all the instructions but I keep getting the following error
Server:
ERROR: error during connect: Get “https://192.168.86.38:2376/v1.24/info”: x509: certificate is valid for 10.10.10.20, 127.0.0.1, not 192.168.86.38
errors pretty printing info
Can anyone please let me know where I am going wrong. PLEASE
Sorry to tag you @George but would you have an answer to this?
so it is a Ubuntu server running aapanel
Has Docker installed on it which is working fine.
I can get to it through an external IP of internal IP address.
Yes there has to be a lot certificates for each docker server if you are using TLS. So it is better not to do it manually.
Those are created automatically if you using Wappler docker machine in the project target docker settings when using remote docker.
The new Resource Manager makes this even easier to create dockers servers with any cloud provider. It doesn’t use TLS certificates but just SSH keys which makes the manageability even easier.
So I suggest that you just use the Resource Manager.
I know it works with cloud server, but that does not help me as I want to use my own server without leaving Docker insecure…
Currently this is the only way I can connect to it.
Which is why I was asking about the TLS
well if it is a local server then you need to do quite a lot of more manual work indeed. So generally I wouldn’t advise it, specially if you are exposing it also to the public world.
A cloud provider server is much better, secure and easy to setup .
If you really insist to use and setup your local server, then you can follow indeed the docker guide and create all various certificates for both server and also local access. Then you can specify the local folder with all the local certificates for access.
yes have followed that to the letter and it still does not like it.
The error I get in Wappler is
ERROR: error during connect: Get “https://192.168.86.38:2376/v1.24/info”: x509: cannot validate certificate for 192.168.86.38 because it doesn’t contain any IP SANs
20 hours trying to sort it out, its killing me.
Would you being a smart person have any ideas?