How to Disable SSL for Webmin Miniserv (CLI) in Centos 6.6

Bismillahirrahmanirrahim..

Webmin is a Web application that enables administrators to manage Linux servers. Webmin runs on a Web server at port 10000. Miniserv is the name of the Web server application that handles the Webmin Web application. By default, Miniserv uses SSL. However, you can disable SSL for Webmin Miniserv by editing the configuration file for the Web application. With SSL disabled, you can access the Webmin application over a standard HTTP connection.

If you can access to you Webmin using internet browser you just can go to Webmin > Webmin Configuration > SSL Encryption > Enable SSL if available? (Choose No)

if you working on CLI follow steps below:

Step 1
Open a terminal window on the Linux server. You can also SSH into the server if you do not have physical access to the machine.

Step 2
Make sure you are root:

$su - root
$vi /etc/webmin/miniserv.conf

Step 3
Locate the following line of code in the configuration file and change the “1“ value to “0.”
ssl=1

port=10007
root=/usr/libexec/webmin
mimetypes=/usr/libexec/webmin/mime.types
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/var/webmin/miniserv.log
errorlog=/var/webmin/miniserv.error
pidfile=/var/webmin/miniserv.pid
logtime=168
ppath=
ssl=0
no_ssl2=1
no_ssl3=1
env_WEBMIN_CONFIG=/etc/webmin
env_WEBMIN_VAR=/var/webmin
atboot=1
logout=/etc/webmin/logout-flag
listen=10007
denyfile=\.pl$
log=1
blockhost_failures=5
blockhost_time=60
syslog=1
session=1
server=MiniServ/1.720
userfile=/etc/webmin/miniserv.users
keyfile=/etc/webmin/miniserv.pem
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
preroot=virtual-server-theme
passdelay=1
cipher_list_def=2
logouttimes=
sessiononly=/virtual-server/remote.cgi
preload=virtual-server=virtual-server/virtual-server-lib-funcs.pl virtual-server                   =virtual-server/feature-unix.pl virtual-server=virtual-server/feature-dir.pl vir                   tual-server=virtual-server/feature-dns.pl virtual-server=virtual-server/feature-                   mail.pl virtual-server=virtual-server/feature-web.pl virtual-server=virtual-serv                   er/feature-webalizer.pl virtual-server=virtual-server/feature-ssl.pl virtual-ser                   ver=virtual-server/feature-logrotate.pl virtual-server=virtual-server/feature-my                   sql.pl virtual-server=virtual-server/feature-postgres.pl virtual-server=virtual-                   server/feature-ftp.pl virtual-server=virtual-server/feature-spam.pl virtual-serv                   er=virtual-server/feature-virus.pl virtual-server=virtual-server/feature-webmin.                   pl virtual-server=virtual-server/feature-virt.pl virtual-server=virtual-server/f                   eature-virt6.pl
anonymous=/virtualmin-mailman/unauthenticated=anonymous
mobile_preroot=virtual-server-mobile
mobile_prefixes=m. mobile.
ssl_cipher_list=ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:MED                   IUM:+TLSv1:+TLSv1.1:+TLSv1.2:!MD5:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESGCM
premodules=WebminCore
extracas=
no_sslcompression=
certfile=
ssl_honorcipherorder=0
ssl_redirect=0

Step 4
Save and restart Webmin

/etc/init.d/webmin restart

You are done. Now open your internet browser then go to http://yourdomain_or_IP:10000/

wassalam..

Advertisements
This entry was posted in Linux and tagged , . Bookmark the permalink.

One Response to How to Disable SSL for Webmin Miniserv (CLI) in Centos 6.6

  1. pradeep garg says:

    go to webmin configuration > logging > disable the log

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s