LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2013, 09:31 AM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Rep: Reputation: Disabled
Problems with ssl, webmin, and iptables


I installed webmin using yum on CentOS 6.4. My firewall is set up as follows:
Code:
[root@server1 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:https
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@server1 ~]#
When logging in using https://mysite.com:10000/session_login.cgi, the firewall is blocking, and the connection times out.

When I disable the firewall, I get the following:
Code:
Secure Connection Failed
An error occurred during a connection to mysite.com:10000.
SSL received a record that exceeded the maximum permissible length.
(Error code: ssl_error_rx_record_too_long)
Can anyone help? Thank you
 
Old 06-22-2013, 10:28 AM   #2
Dennis3
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Rep: Reputation: Disabled
The error implies that SSL is not configured.

Use http instead of https

Dennis.
 
1 members found this post helpful.
Old 06-22-2013, 10:44 AM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Original Poster
Rep: Reputation: Disabled
Thanks Dennis. I am able to now access webmin.

I previously was running Centos 5.8, and I thought I accessed using https. I forgot if I had configured ssl. Think it is a good idea to use ssl?
 
Old 06-22-2013, 12:08 PM   #4
Dennis3
LQ Newbie
 
Registered: Jun 2013
Posts: 17

Rep: Reputation: Disabled
If the access is being made from inside the network, there is no need of SSL connection unless you wish to.

Using an encrypted connection is a matter of need

This is my opinion though

Dennis.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin boot and SSL dkpw Slackware 2 04-11-2005 01:25 PM
Webmin and SSL Kanon Linux - Networking 0 02-27-2005 12:55 PM
SSL and Webmin question chimp999 Linux - General 1 10-06-2004 08:59 AM
SSL With Webmin craigvanham Linux - Software 3 08-04-2004 10:00 PM
Webmin SSL Cert hakcenter Linux - Security 4 10-22-2003 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration