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

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

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

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);

Thanks Jamie, its working.

Thanks Jamie, this fixed my problem.

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