[solved]Let's Encrypt Certs

Drone Version: 0.5.0

I have my Drone Server sitting behind a nginx proxy that is terminating ssl using certs from the Let’s Encrypt CA.

When I try and connect the drone agent to the server with -e DRONE_SERVER=wss://drone.rmb938.me/ws/broker I get the following error:

1:M 29 Jan 23:26:03.769 # connection failed, retry in 15s. websocket.Dial wss://drone.rmb938.me/ws/broker: x509: certificate signed by unknown authority

Is there a way to add the Let’s Encrypt CA to the drone image? Or at least some way to disable SSL verification?

Edit: Needed to use the full chain cert instead of the regular one.