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

6 lines
145 B
Bash
Executable File

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