vito/resources/commands/ssl/create-custom-ssl.sh
2023-08-04 18:28:04 +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."