Scripts now download ICANN TMCH crt files

This commit is contained in:
Pinga 2025-05-21 12:13:08 +03:00
parent 2081d0d196
commit 0a3011ca2d
2 changed files with 10 additions and 0 deletions

View file

@ -525,6 +525,11 @@ EOF
echo "Setting up cache." echo "Setting up cache."
chown www-data:www-data /var/www/cp/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 "Installation complete!\n"
echo -e "Next steps:\n" echo -e "Next steps:\n"
echo -e "1. Configure each component by editing their respective configuration files." echo -e "1. Configure each component by editing their respective configuration files."

View file

@ -164,6 +164,11 @@ systemctl restart ${PHP_VERSION}-fpm
wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php 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 # Start services
echo "Starting services..." echo "Starting services..."
systemctl start epp systemctl start epp