lunes, 22 de octubre de 2018

Howto enable or disable ssl module on apache2 Ubuntu Debian


Howto enable or disable ssl module on apache2 Ubuntu Debian
14

1.  Enable SSL module on Apache2
root@ip-10-48-234-13:~# a2enmod ssl
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
service apache2 restart
root@ip-10-48-234-13:~# service apache2 restart
* Restarting web server apache2 … waiting . [ OK ]
root@ip-10-48-234-13:~#
root@ip-10-48-234-13:~# netstat -nutlap | grep 443
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4157/apache2
root@ip-10-48-234-13:~#
2. Disable SSL module on Apache2
root@ip-10-48-234-13:~# a2dismod ssl
Module ssl disabled.
To activate the new configuration, you need to run:
service apache2 restart
root@ip-10-48-234-13:~# service apache2 restart
* Restarting web server apache2 … waiting [ OK ]
root@ip-10-48-234-13:~# netstat -nutlap | grep 443
root@ip-10-48-234-13:~#
That’s all. Thanks for using IThelpblog.com.

No hay comentarios:

Publicar un comentario