#!/bin/sh
. /srv/opendatakit-build/add-ca-cert.env
true | openssl s_client -connect ${HOST}:${PORT} | openssl x509 -out /usr/local/share/ca-certificates/opendatakit.crt
update-ca-certificates