Ngnix SSL Website

6 posts / 0 new
Last post
#1 Tue, 09/04/2012 - 12:46
imhawk

Ngnix SSL Website

Hi,

I am facing problem with Nginx SSL website. This is my firtst virtual server when i create with Nginx SSL Website it giving me this error to start Nginx SSL Website.

Nginx SSL website failed! : virtualmin-nginx-ssl::feature_setup failed : Undefined subroutine &virtual_server::find_chained_certificate called at /usr/libexec/webmin/virtualmin-nginx-ssl/virtual_feature.pl line 152.

Can someone please suggest me how can i fix this issue.

Thanks

Tue, 09/04/2012 - 17:30
JamieCameron

This could be a version mismatch problem .. which version of Virtualmin are you running there?

''

Tue, 09/04/2012 - 20:29 (Reply to #2)
imhawk

my virtualmin version is 3.94.gpl GPL and my webmin version is 1.590 and my Nginx version 1.0.9

Tue, 09/04/2012 - 22:12 (Reply to #3)
JamieCameron

Ok, I see the issue here - a function was renamed in Virtualmin core, but the call to it in the Nginx plugin wasn't adjusted to match.

The quick fix until we release an update is to edit /usr/libexec/webmin/virtualmin-nginx-ssl/virtual_feature.pl and change line 152 to :

&virtual_server::find_matching_certificate($d);

''

Wed, 09/05/2012 - 12:31 (Reply to #4)
imhawk

Thanks Jamie, its working.

Sun, 12/16/2012 - 11:20
j0bb13

Thanks Jamie, this fixed my problem.

In Ubuntu 12.04 the file is located here: /usr/share/webmin/virtualmin-nginx-ssl/virtual_feature.pl

Topic locked