Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » General Discussion

Post new topic   Reply to topic
Problems accessing SMS Webmin page
View previous topic :: View next topic  
Author Message
toothandnail
Member


Joined: 17 Mar 2011
Posts: 63
Location: Oxfordshire, UK

PostPosted: Thu Nov 20, 2014 12:22 pm    Post subject: Problems accessing SMS Webmin page Reply with quote

If you are using a recent version of Firefox or Seamonkey to access the SMS Webmin page (if Webmin is set to use SSL), you will find you get this error:

Code:
Secure Connection Failed

An error occurred during a connection to sms:10000. The key does not support the requested operation. (Error code: sec_error_invalid_key)

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

    Please contact the web site owners to inform them of this problem.


The problem is due to the fact that the default key generated is only 512 bytes, while the new version of the libraries used by mozilla browsers requires a minimum of 1024 bytes.

To fix the problem, open Webmin with a browser that doesn't prevent you logging in (or turn off SSL in the Webmi config), then go to Webmin > Webmin Configuration > SSL Encryption > Self-signed Certificate and generate a new key. The default is a 2048 byte key, which will allow you to use a mozilla browser, just with the normal "untrusted" warnings.

Chromium or Midori will both allow you to log into the page. Presumably, Chrome will also allow it.

Paul.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Thu Nov 20, 2014 7:15 pm    Post subject: Reply with quote

Thanks for the input...

You can also edit /etc/webmin/miniserv.conf to
ssl=0
and restart webmin with
/etc/webmin/restart
or for newer SMS
smsconfig webmin rs

That way you can access webmin without ssl and update the certificate...

Since the shellshock bug though, I would recommend having webmin disabled all the time and enabled it only if you need to change something, as webmin versions prior to 1.710 was the backdoor on old SMS versions with unpatched bash...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » General Discussion All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional