mirror of
https://github.com/getnamingo/registry.git
synced 2025-06-06 04:27:16 +02:00
Scripts now download ICANN TMCH crt files
This commit is contained in:
parent
2081d0d196
commit
0a3011ca2d
2 changed files with 10 additions and 0 deletions
|
@ -525,6 +525,11 @@ EOF
|
|||
echo "Setting up cache."
|
||||
chown www-data:www-data /var/www/cp/cache
|
||||
|
||||
echo "Downloading ICANN TMCH certificate data."
|
||||
curl -o /etc/ssl/certs/tmch.pem https://ca.icann.org/tmch.crt
|
||||
curl -o /etc/ssl/certs/tmch_pilot.pem https://ca.icann.org/tmch_pilot.crt
|
||||
chmod 644 /etc/ssl/certs/tmch.pem /etc/ssl/certs/tmch_pilot.pem
|
||||
|
||||
echo -e "Installation complete!\n"
|
||||
echo -e "Next steps:\n"
|
||||
echo -e "1. Configure each component by editing their respective configuration files."
|
||||
|
|
|
@ -164,6 +164,11 @@ systemctl restart ${PHP_VERSION}-fpm
|
|||
|
||||
wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php
|
||||
|
||||
echo "Downloading ICANN TMCH certificate data."
|
||||
curl -o /etc/ssl/certs/tmch.pem https://ca.icann.org/tmch.crt
|
||||
curl -o /etc/ssl/certs/tmch_pilot.pem https://ca.icann.org/tmch_pilot.crt
|
||||
chmod 644 /etc/ssl/certs/tmch.pem /etc/ssl/certs/tmch_pilot.pem
|
||||
|
||||
# Start services
|
||||
echo "Starting services..."
|
||||
systemctl start epp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue