Rename ChristianMoenchCA.crt to INM-ICF-TestCA.crt Clone this branch when building a singularity container. This should be removed, once the certificates are in main-branch
17 lines
490 B
Bash
Executable file
17 lines
490 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e -u
|
|
|
|
sudo cp .appveyor/data/ssl-cert-snakeoil.crt /etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
sudo cp .appveyor/data/ssl-cert-snakeoil.key /etc/ssl/private/ssl-cert-snakeoil.key
|
|
sudo cp .appveyor/data/INM-ICF-TestCA.crt /usr/local/share/ca-certificates/
|
|
|
|
sudo /sbin/dpkg-reconfigure ca-certificates
|
|
|
|
sudo a2enmod ssl
|
|
sudo systemctl restart apache2
|
|
|
|
sudo a2ensite default-ssl
|
|
sudo systemctl reload apache2
|
|
|
|
echo "ServerName data.inm-icf.de" | sudo tee -a /etc/apache2/httpd.conf
|