Uninstall mod_ssl?

Chris Worner

Well-known member
Registered
Joined
Apr 15, 2016
Messages
612
Points
28
Hi everyone, I have a vps server for hosting my personal sites, they are blogs. I would like to get ride of the mod_ssl on my Apache because I didn't use them, and not going to use them in the future. What is the best way to uninstall mod_ssl or disable it?
 

Localnode

Well-known member
Registered
Joined
Dec 15, 2015
Messages
333
Points
43
If you have cPanel/WHM open up Easy Apache in WHM and uncheck "mod_ssl" in the apache modules and then recompile.
Otherwise for RHEL-based distributions (CentOS, CloudLinux, Fedora, etc.)
Code:
yum -y remove mod_ssl
You'll then also need to recompile apache without mod_ssl. Find the respective configuration files. Usually in /etc/httpd/conf/httpd.conf.
 

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
The easiest way is to stop loading the module or remove the corresponding package completely from the server. What environment do you have? Are you using any control panels?
 

neckom

Well-known member
Hosting Provider
Registered
Joined
Mar 7, 2017
Messages
88
Points
0
hi,

You can uninstall openssl easily since it is a rpm package installed in the centos servers. You may need to recompile apache without mod_ssl and thats the only way to uninstall that.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
Hi everyone, I have a vps server for hosting my personal sites, they are blogs. I would like to get ride of the mod_ssl on my Apache because I didn't use them, and not going to use them in the future. What is the best way to uninstall mod_ssl or disable it?
Hello Chris,
I'm not sure to understand why you want to uninstall mod_ssl ?
Because you can easily disable it with the command :
Code:
a2dismod ssl
But in my opinion, there is no reason to disable it. It will not impact your website performance or create any errors with your website.
Additionally, I recommend you to always use let's encrypt to secure your website, even if you are hosting personal sites or blogs, because just to login on your website dashboard, with SSL/TLS your password will be encrypted when it will be sent as clear text under HTTP. That mean anybody can get it by sniffing your network.
 

Elliot Martin

Member
Registered
Joined
Jan 6, 2023
Messages
17
Points
1
To disable or uninstall mod_ssl on an Apache server, you can follow these steps:

  1. Check the Apache configuration files: The Apache configuration files are usually located in the /etc/httpd/conf or /etc/httpd/conf.d directory. Check the files in these directories to see if mod_ssl is loaded.
  2. Comment out the mod_ssl module in the Apache configuration file: If mod_ssl is loaded in the Apache configuration file, you can comment out the line that loads the module to disable it. For example:
shellCopy code
#LoadModule ssl_module modules/mod_ssl.so

  1. Restart Apache: After disabling mod_ssl, you need to restart Apache to apply the changes. You can restart Apache by running the following command:
Copy code
sudo service httpd restart

  1. Check the Apache logs: After restarting Apache, check the logs for any errors related to mod_ssl. If there are no errors, mod_ssl has been successfully disabled.
Note: Disabling mod_ssl can impact the security of your server, as the SSL protocol provides encryption and authentication for secure communication between the client and server. It is recommended that you only disable mod_ssl if you are certain that you will not use SSL in the future.
 
Older Threads
Newer Threads
Latest Threads
Replies
1
Views
23
Replies
0
Views
175
Replies
1
Views
37
Replies
2
Views
81

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top