RE: [MODULE] Certificate Manager
08-07-2018, 06:31 AM
(This post was last modified: 08-07-2018, 06:34 AM by mungujakisa.)
(07-05-2018, 11:56 AM)longhb Wrote: Hi,
I install module ssl for VPS use Sentora...however, after install module, Sentora not run and service httpd not start. please help me? thank
my domain http://devfastpro.com/
zpanel.devfastpro.com httpd[2450]: SSLCertificateKeyFile: file ‘/devfastpro.com/ssl/certificate/private.key’ does not exist or is empty
I'm not sure if you are facing the same issue I have, but I've experienced (and still experience) a similar issue with Apache every time I register a new domain. After some looking around, I discovered that Certificate Manager (I suspect) edits the httpd-vhosts.conf file that is located in /etc/sentora/configs/apache/ folder. It appears to use an obsoleted (or about to be obsoleted) configuration as this link says https://wiki.apache.org/httpd/CommonMisconfigurations.
It also uses a capital S on line 41 (in mine) instead of a lower case "s". Look at my screenshot attached (Sentora_Error).
I corrected it by opening the file in nano (use your favourite editor) and doing the following (numbered in the second attached screenshot)
1. Closed the first opened </VirtualHost> on line 25
2. Opened a new <VirtualHost *:443> on line 31
3. Commented out the *:443 on line 32
4. changed the capital S in line 41 to a lowercase, now reading: DocumentRoot "/etc/sentora/panel/"
5. Saved the file with the same name
6 Restarted Apache using the command: service apache2 restart
This workaround works for me, but I'm still looking around for a permanent solution. If anyone knows how to solve this permanently, please help me here.
I'm officially new to this forum and still have to learn how to use the insert code stuff, so pardon the lack of formatting.
Hope this helps someone else!
***********************************************
SAMUEL AVOLA MUNGUJAKISA *
CEO, Bero Computers *
www.berocomputers.com *
+256754086797 *
+256780585402 *
***************************** *
SAMUEL AVOLA MUNGUJAKISA *
CEO, Bero Computers *
www.berocomputers.com *
+256754086797 *
+256780585402 *
***************************** *