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 ??

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"

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

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

It’s same and still creates the same 3 lock files…

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

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

-Eric

No…

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

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