Spotter-VM/lxc-apps/opendatakit/opendatakit-build.image.d/bin/add-ca-cert

7 lines
194 B
Bash
Executable File

#!/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