LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-01-2009, 08:00 AM   #1
mansoor323
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
Unhappy having problem with webmin


I'hav downloaded and installed webmin on my UBUNTU 9.04
I started the server using command-

/etc/webmin/start

I cannot access webmin using URL:

http://localhost:10000
or
https://localhost:10000

it shows error page saying :
Error - Bad Request

This web server is running in SSL mode. Try the URL https://localhost:10000/ instead.

and some error regarding certificates..
"localhost:10000 uses an invalid security certificate."



I did all this in root account.

please help me out....using webmin for first time..havn't got much idea.

I would appreciate if u provide links for installation and use of webmin.

Last edited by mansoor323; 12-01-2009 at 08:02 AM.
 
Old 12-01-2009, 10:02 AM   #2
jkzfixme
Member
 
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
It is already installed correctly you need to go to https://localhost:10000/ and accept the security certificate then you will be fine. here is what webmin.org has to say about it

Quote:
# My browser complains about the Webmin certificate when in SSL mode

This happens because the default SSL certificate that is generated by webmin is not issued by a recognized certificate authority. From a security point of view, this makes the certificate less secure because an attacker could theoretically redirect traffic from your server to another machine without you knowing, which is normally impossible if using a proper SSL certificate. Network traffic is still encrypted though, so you are safe against attackers who are just listening in on your network connection.

If you want to be really sure that the Webmin server you are connecting to is really your own, the only solution is to order a certificate from an authority like Verisign that is associated with your server's hostname and will be recognized web browsers. This certificate should be placed in the file /etc/webmin/miniserv.pem and be in the same certifcate+key format as the existing miniserv.pem file.

To request a certificate, follow these steps :

* Run the command openssl genrsa -out key.pem 1024 . This will create the file key.pem which is your private key.
* Run the command openssl req -new -key key.pem -out req.pem . When it asks for the common name, be sure to enter the full hostname of your server as used in the URL, like www.yourserver.com. This will create the file req.pem, which is the certificate signing request (CSR)
* Send the CSR to your certificate authority by whatever method they use. They should send you back a file that starts with -----BEGIN CERTIFICATE----- which can be put in the file cert.pem.
* Combine the private key and certificate with the command cat key.pem cert.pem >/etc/webmin/miniserv.pem.
* Re-start webmin (making sure it is in SSL mode) to use the new key.

Last edited by jkzfixme; 12-01-2009 at 10:08 AM.
 
  


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 problem i_nomad Linux - Newbie 32 10-23-2009 02:35 AM
Webmin problem hassandit Linux - Server 0 10-24-2008 12:44 AM
Problem with Webmin baldur2630 Linux - Software 4 09-16-2008 11:48 PM
Webmin Problem Peter_APIIT Linux - Software 3 04-04-2007 07:36 AM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM

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

All times are GMT -5. The time now is 05:46 PM.

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
Open Source Consulting | Domain Registration