Problem with SSL

9 posts / 0 new
Last post
#1 Sun, 11/04/2012 - 10:54
yamahoto

Problem with SSL

When I go in Manage SSL.

CSR is created already, Key too.

But then when I upload certificate

It says: Configuring webserver to use new certificate and key ..

and it freezes there...

On the fileserver I notice it creates a httpd.lock file, but even if I remove it, it doesnt change anything..

What should I do ??

Mon, 11/05/2012 - 07:42
andreychek

If it continues freezing at that same location, you may want to verify that there aren't any other .lock files... you can do that by running this command:

find /etc -name "*.lock"

Mon, 11/05/2012 - 08:12
yamahoto

Still doing same thing.

After doing it I see 3 lock files

/etc/webmin/miniserv.conf.lock /etc/usermin/miniserv.conf.lock /etc/httpd/conf/httpd.conf.lock

Mon, 11/05/2012 - 09:24
andreychek

Howdy,

Okay, what you may want to do is --

  1. Stop Webmin, with: /etc/init.d/webmin stop

  2. Delete any lock files that you see in /etc

  3. Start Webmin again, with /etc/init.d/webmin start

After doing that, are you able to setup the SSL in Virtualmin?

-Eric

Mon, 11/05/2012 - 10:44
yamahoto

It's same and still creates the same 3 lock files..

Have any idea where I could see the logs for this problem??

Mon, 11/05/2012 - 12:12
andreychek

Are you seeing any errors in /var/webmin/miniserv.error?

-Eric

Thu, 11/08/2012 - 10:36
yamahoto

No....

Tue, 12/04/2012 - 09:06 (Reply to #7)
nik.martin

I'm getting the same error, but my virtualmin error log does have information:

[root@web ssl]# tail -f /var/webmin/miniserv.error
Error opening Certificate /home/portal/ssl.cert
139767557756744:error:02001002:system library:fopen:No such file or directory:bss_file.c:355:fopen('/home/portal/ssl.cert','r')
139767557756744:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:357:
unable to load certificate
Out of memory!
Error opening Certificate /home/portal/ssl.cert
140275844622152:error:02001002:system library:fopen:No such file or directory:bss_file.c:355:fopen('/home/portal/ssl.cert','r')
140275844622152:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:357:
unable to load certificate
Out of memory!

I have plenty of memory, 1 Gb, with 282M used

Tue, 12/04/2012 - 10:18
andreychek

Howdy,

Are you by chance using a VPS? If so, is it OpenVZ? If that's the case, could you paste in the contents of your /proc/user_beancounters file?

Also, what is the output of this command:

ls -l /home/portal/ssl.cert

Thanks!

-Eric

Topic locked