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

7 lines
196 B
Bash
Executable File

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