This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] Certificate Manager
#49
[Not Solved] RE: [Module] Certificate Manager
Update:

Upgraded the code myself.

Add a file upload to module.zpm. Now i have:
  • Key
  • Domain
  • CA Root
  • CA intermediate
The files are uploaded and the vhosts file now have :
  • SSLCertificateFile
  • SSLCertificateKeyFile
  • SSLCACertificateFile
  • SSLCertificateChainFile
Working perfect now on phone crome for android.

Ran into one strange issue do.

I have my panel at cpanel.webimproved.nl and the company website on http://www.webimproved.
When i added ssl to http://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();
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 http://www.webimproved.nl as domain voor certifcate.
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
Thanks given by:


Messages In This Thread
[MODULE] Certificate Manager - by Diablo925 - 09-24-2015, 05:09 AM
RE: [Module] Certificate Manager - by TGates - 09-24-2015, 06:34 AM
RE: [Module] Certificate Manager - by MarkDark - 09-24-2015, 06:51 AM
RE: [Module] Certificate Manager - by MarkDark - 09-24-2015, 07:01 AM
RE: [Module] Certificate Manager - by TGates - 09-24-2015, 07:35 AM
RE: [Module] Certificate Manager - by Diablo925 - 09-24-2015, 02:47 PM
RE: [Module] Certificate Manager - by Diablo925 - 09-24-2015, 03:18 PM
RE: [Module] Certificate Manager - by TGates - 09-24-2015, 05:11 PM
RE: [Module] Certificate Manager - by TGates - 09-24-2015, 05:18 PM
RE: [Module] Certificate Manager - by Diablo925 - 09-24-2015, 08:30 PM
RE: [Module] Certificate Manager - by TGates - 09-25-2015, 02:59 AM
RE: [Module] Certificate Manager - by bbspike - 09-24-2015, 11:26 PM
RE: [Module] Certificate Manager - by Diablo925 - 09-25-2015, 03:48 AM
RE: [Module] Certificate Manager - by kandrews - 09-25-2015, 07:25 AM
RE: [Module] Certificate Manager - by Diablo925 - 10-03-2015, 09:55 PM
RE: [Module] Certificate Manager - by Diablo925 - 10-04-2015, 12:56 AM
RE: [Module] Certificate Manager - by MarkDark - 10-09-2015, 07:09 PM
RE: [Module] Certificate Manager - by Diablo925 - 10-09-2015, 07:44 PM
RE: [Module] Certificate Manager - by TGates - 10-10-2015, 03:34 AM
RE: [Module] Certificate Manager - by Diablo925 - 10-10-2015, 03:52 AM
RE: [Module] Certificate Manager - by MarkDark - 10-10-2015, 06:44 AM
RE: [Module] Certificate Manager - by Diablo925 - 10-10-2015, 06:53 AM
RE: [Module] Certificate Manager - by MarkDark - 10-10-2015, 03:19 PM
RE: [Module] Certificate Manager - by Diablo925 - 10-11-2015, 11:31 PM
RE: [Module] Certificate Manager - by Diablo925 - 10-11-2015, 11:38 PM
RE: [Module] Certificate Manager - by Diablo925 - 10-21-2015, 11:05 PM
RE: [Module] Certificate Manager - by TGates - 10-22-2015, 05:35 AM
RE: [Module] Certificate Manager - by Diablo925 - 10-22-2015, 09:44 PM
RE: [Module] Certificate Manager - by eseelke - 11-12-2015, 10:25 AM
RE: [Module] Certificate Manager - by Diablo925 - 11-12-2015, 03:44 PM
RE: [Module] Certificate Manager - by bbspike - 11-13-2015, 06:50 AM
RE: [Module] Certificate Manager - by TGates - 11-13-2015, 02:54 PM
RE: [Module] Certificate Manager - by Diablo925 - 11-15-2015, 04:39 AM
RE: [Module] Certificate Manager - by bbspike - 11-26-2015, 06:40 PM
RE: [Module] Certificate Manager - by TGates - 11-27-2015, 04:02 AM
RE: [Module] Certificate Manager - by bbspike - 11-27-2015, 07:20 AM
RE: [Module] Certificate Manager - by Diablo925 - 11-27-2015, 05:54 PM
RE: [Module] Certificate Manager - by bbspike - 11-27-2015, 07:32 PM
RE: [Module] Certificate Manager - by TGates - 11-28-2015, 09:55 AM
RE: [Module] Certificate Manager - by bbspike - 11-29-2015, 04:07 AM
RE: [Module] Certificate Manager - by bbspike - 11-29-2015, 05:22 AM
RE: [Module] Certificate Manager - by JonathanNet - 12-15-2015, 08:04 AM
RE: [Module] Certificate Manager - by iraqiboy90 - 12-18-2015, 12:37 PM
RE: [Module] Certificate Manager - by culunsure - 12-30-2015, 07:44 PM
RE: [Module] Certificate Manager - by Jakeey802 - 12-31-2015, 09:32 AM
RE: [Module] Certificate Manager - by AgentD - 01-03-2016, 10:11 AM
RE: [Module] Certificate Manager - by Diablo925 - 01-09-2016, 05:26 AM
RE: [Module] Certificate Manager - by TGates - 01-09-2016, 05:46 AM
RE: [Module] Certificate Manager - by TGates - 01-09-2016, 06:31 AM
RE: [Module] Certificate Manager - by AgentD - 01-12-2016, 06:20 PM
RE: [Module] Certificate Manager - by bbspike - 01-12-2016, 10:20 PM
RE: [Module] Certificate Manager - by AgentD - 01-13-2016, 08:31 AM
RE: [Module] Certificate Manager - by Josvdwoude - 01-16-2016, 04:41 AM
RE: [Module] Certificate Manager - by Delbane - 03-19-2016, 09:45 AM
RE: [Module] Certificate Manager - by wishmaster - 05-05-2016, 04:52 AM
RE: [Module] Certificate Manager - by eirsik - 06-20-2016, 08:35 PM
RE: [Module] Certificate Manager - by Ron-e - 06-21-2016, 04:48 AM
RE: [Module] Certificate Manager - by eirsik - 06-21-2016, 10:27 PM
RE: [Module] Certificate Manager - by Ron-e - 06-22-2016, 12:17 AM
RE: [Module] Certificate Manager - by Unknown - 06-24-2016, 07:01 PM
RE: [Module] Certificate Manager - by Rynoxx - 06-27-2016, 12:15 AM
RE: [Module] Certificate Manager - by Ron-e - 06-28-2016, 12:32 AM
[MODULE] Certificate Manager - by donleo123 - 06-04-2018, 10:40 AM
RE: [MODULE] Certificate Manager - by longhb - 07-05-2018, 11:56 AM
RE: [MODULE] Certificate Manager - by mungujakisa - 08-07-2018, 06:31 AM
RE: [MODULE] Certificate Manager - by TGates - 07-17-2018, 05:15 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
[Module] Let's Encrypt Bizarrus 50 19 492 05-24-2020, 03:44 PM
Last Post: muratkaragoz
[Module] Pydio jollyjoke 51 69 866 02-04-2020, 04:45 PM
Last Post: jollyjoke
[Module] Manage Categories jollyjoke 2 4 008 02-03-2020, 02:02 AM
Last Post: jollyjoke

Forum Jump:


Users browsing this thread: 1 Guest(s)