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

6 lines
145 B
Plaintext
Raw Normal View History

#!/bin/sh
. /srv/openmapkit/add-ca-cert.env
true | openssl s_client -connect ${HOST}:${PORT} | openssl x509 -out /etc/ssl/certs/openmapkit.crt