Menu Close

How to SSL in Apache

# sudo apt install certbot python3-certbot-apache\nsudo certbot --apache -d i2ve.com -d *i2ve.com
# certbot certonly --manual --preferred-challenges=dns --email zahra@the-netwerk.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.i2ve.com -d i2ve.com
# cd /etc/apache2/\nls -la\ncd sites-enabled/
# ls -la
# nano i2ve-com.conf\n/etc/init.d/apache2 restart
# systemctl status apache2.service
# nano i2ve-com.conf
# systemctl status apache2.service
# a2enmod rewrite\n/etc/init.d/apache2 restart
# su the-netwerk
# netstat -pln
# nano i2ve-com.conf
# a2enmod ssl
# /etc/init.d/apache2 restart