vito/system/commands/common/create-custom-ssl.sh
Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

14 lines
303 B
Bash

if ! sudo mkdir __path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! echo __certificate__ | sudo tee __certificate_path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! echo __pk__ | sudo tee __pk_path__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
echo "Successfully received certificate."