add certificate CN to app VHOST if it's not already

This commit is contained in:
Michael Hobbs
2014-12-23 16:40:28 -08:00
parent 416dac6d2b
commit de09260c33
5 changed files with 32 additions and 2 deletions

View File

@@ -101,3 +101,10 @@ deploy_app() {
git commit -m 'initial commit'
git push target master || destroy_app
}
setup_test_tls() {
TLS="/home/dokku/$TEST_APP/tls"
mkdir -p $TLS
tar xf $BATS_TEST_DIRNAME/server_ssl.tar -C $TLS
sudo chown -R dokku:dokku $TLS
}