Docker certificates

Hello guys,

I´m having this error when trying to deploy to Digital Ocean:

error during connect: Get "https://167.99.148.250:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.oneoff%3DFalse%22%3Atrue%2C%22com.docker.compose.project%3Dweb_app__stagingnew%22%3Atrue%7D%7D": x509: certificate has expired or is not yet valid: current time 2023-04-24T14:56:36-03:00 is after 2023-04-24T13:47:00Z
Error Stopping Services!

Host server have this date/time: Mon Apr 24 18:02:33 UTC 2023
My machine: Mon Apr 24 13:02:54
Timezone for docker compose: Australia/Melbourne

In the error message, I have this time: current time 2023-04-24T14:56:36-03:00

Did anyone experience this?
Thanks in advance!

Hi Otavio,

Luckily for you, I remember seeing someone with the same error, here’s the fix:

Hello @Apple! Thanks for your answer!

I have 3 environments here, I’ve renewed the certs from Wappler Docker Manager and it worked on Staging and Sandbox environments, but not for production.

Got this message when trying to generate certs for Production:

Fetching Docker Machines ...
Done!
Renewing Certs On Machine Production ...
Error Renewing Certs On Machine Production!

Info: After generating the certs for my Staging env, the deployment just worked after ´docker system prune´ command, to purge unused containers.

@George do you have any clue about the error I´m getting? Could you share what the “Renew cert” does, so I can test the commands over my server docker cli.

@george it keeps happening on other app I have… help!

Could you try to add your VPS to Wappler Resource Manager? And then change deploy method in your project settings, instead of using Docker socket, use SSH method