Docker certificate expired

Running into this fun little error this morning. Doing several deploys all morning, now this on 2 targets:

This is all on see on active target.

Screenshot 2023-12-16 at 12.10.49 PM

Local docker desktop still works.

I get this when attempting to prune the target.

Screenshot 2023-12-16 at 12.07.53 PM

I can login to the DO console fine.

These targets use socket, not resource manager.

This is from the Wappler log:

[2023-12-16 12:02:47.455] targets load ...
[2023-12-16 12:02:47.686] got docker connect error:  Error: certificate has expired
    at TLSSocket.onConnectSecure (node:_tls_wrap:1553:34)
    at TLSSocket.emit (node:events:514:28)
    at TLSSocket._finishInit (node:_tls_wrap:970:8)
    at TLSWrap.onhandshakedone (node:_tls_wrap:746:12)
[2023-12-16 12:02:47.911] Is Loading, wait...
[2023-12-16 12:02:47.921] Is Loading, wait...
[2023-12-16 12:02:47.938] Is Loading, wait...

Anybody already deal with this?

Found it. I forgot about the manage docker resources!

Screenshot 2023-12-16 at 12.43.18 PM

2 Likes

Yes that is when you use the old docker machines manager that connects through docker TLS socket.

If you use the new way of creating docker servers with Resource Manager - there everything goes through SSH with SSH keys, so no additional certificates are need for the docker deploy and communication.