#!/bin/bash

# cd /home && curl -o ssl_install -L https://dl.mumara.com/ssl_install && sh ssl_install

echo "####################################################################"
echo "#"
echo "#"
echo "#       This script is designed only to be used"
echo "#                       by"
echo "#              Mumara Staff Members"
echo "#"
echo "#        Note: All activities are being recorded"
echo "#"
echo "#"
echo "####################################################################"
echo ""
echo ""
echo ""

# Add the CentOS 7 EPEL repository
yum install epel-release -y

# Install all of the required packages
yum install certbot python3-certbot-apache mod_ssl -y

# Execute the interactive installation and obtain a certificate
certbot --apache

rm -rf /home/ssl_install

exit
