Update:
Upgraded the code myself.
Add a file upload to module.zpm. Now i have:
Ran into one strange issue do.
I have my panel at cpanel.webimproved.nl and the company website on www.webimproved.
When i added ssl to www.webimproved.nl with your module apache broke. Looking in the vhosts file i saw that the module add everything twice! Think has something to do with:
I see you lookup the sentora_domain. In my database the sentora_domain is cpanel.webimproved.nl
So i dont quite understand why the module gets confused there if is use www.webimproved.nl as domain voor certifcate.
Upgraded the code myself.
Add a file upload to module.zpm. Now i have:
- Key
- Domain
- CA Root
- CA intermediate
- SSLCertificateFile
- SSLCertificateKeyFile
- SSLCACertificateFile
- SSLCertificateChainFile
Ran into one strange issue do.
I have my panel at cpanel.webimproved.nl and the company website on www.webimproved.
When i added ssl to www.webimproved.nl with your module apache broke. Looking in the vhosts file i saw that the module add everything twice! Think has something to do with:
Code:
if($domain == ctrl_options::GetSystemOption('sentora_domain')) {
$line = "# Made from Cert manager start" . fs_filehandler::NewLine();
$line .= fs_filehandler::NewLine();
$line .= 'SSLEngine On' . fs_filehandler::NewLine();
$line .= "SSLCertificateFile " . ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . "/ssl/" . $rootdir. "/". $domain.".crt". fs_filehandler::NewLine();
$line .= "SSLCertificateKeyFile " . ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . "/ssl/" . $rootdir."/" . $domain.".key". fs_filehandler::NewLine();
$line .= "SSLCACertificateFile " . ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . "/ssl/" . $rootdir."/caroot.crt". fs_filehandler::NewLine();
$line .= "SSLCertificateChainFile " . ctrl_options::GetSystemOption('hosted_dir') . $currentuser['username'] . "/ssl/" . $rootdir."/intermediate.crt". fs_filehandler::NewLine();
So i dont quite understand why the module gets confused there if is use www.webimproved.nl as domain voor certifcate.