support extracting SANs from SSL certificates and adding them to nginx config

This commit is contained in:
Michael Hobbs
2015-01-15 10:34:14 -08:00
parent a0c5c4576e
commit 6cd89fa72a
4 changed files with 44 additions and 4 deletions

View File

@@ -109,3 +109,10 @@ setup_test_tls() {
tar xf $BATS_TEST_DIRNAME/server_ssl.tar -C $TLS
sudo chown -R dokku:dokku $TLS
}
setup_test_tls_with_sans() {
TLS="/home/dokku/$TEST_APP/tls"
mkdir -p $TLS
tar xf $BATS_TEST_DIRNAME/server_ssl_sans.tar -C $TLS
sudo chown -R dokku:dokku $TLS
}