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.

SSL certificate installation problem [SOLVED]
#1
SSL certificate installation problem [SOLVED]
EDIT: i found a way to solve the problem, e manually inserted the keyfile path on httpd-vhosts.conf

sorry for the spam



---------------

Hi guys, i have a problem that i can't find the answer by search, i was installing Let's Encrypt certificates on my domains, all sub-domains worked fine, but when i was installing it on the panel domain i got an problem, after e changed the port from 80 to 443, the daemon runned itself before i could insert the paths to the certificate files (the port and the keyfiles paths are set on diferent pages) now i cant acess the panel to insert the certificates (apache complains that there are no certificates inserted), i tried placing it manually but with no sucess.

Is there any way to fix it without reinstalling the whole panel ?
Thanks, and sorry for any english mistakes
Reply
Thanks given by:
#2
RE: SSL certificate installation problem [SOLVED]
manually edit /etc/sentora/configs/apache/httpd-vhosts.conf and either add them there and restart apache, then add them inside custom vhost override so they will always be re-written to the httpd-vhosts.conf file.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: SSL certificate installation problem [SOLVED]
(02-04-2017, 06:06 AM)TGates Wrote: manually edit /etc/sentora/configs/apache/httpd-vhosts.conf and either add them there and restart apache, then add them inside custom vhost override so they will always be re-written to the httpd-vhosts.conf file.


If somebody finds that when they try to go to their control panel and they get forwarded to one of their normal domains (and NOT the panel which one has just tried to encrypt): this may be the problem.  I had lost access to the control panel.

I just had a problem that this post helped me solve.  In a nutshell, I found that the installation of the ssl certificate using letsencrypt did not save the port to 443 but 80.  That is when I looked in this file:

 /etc/sentora/configs/apache/httpd-vhosts.conf 

I saw that the port was 80 not 443. I was having the problem that when i went to my control panel it would forward me to my normal domain.  

I thought I saved it as 443 inside the control panel ... i was very very very careful in following the instructions so i'm sure that I had already set the port to 443 and saved it.  ... but anyways ... 

If somebody finds that when they try to go to their control panel and they get forwarded to one of their normal domains (and NOT the panel which one has just tried to encrypt): this may be the problem.  I had lost access to the control panel.
Reply
Thanks given by: TGates


Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,755 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Problem with roundcube pgh2011 0 2 ,590 01-30-2021, 12:48 AM
Last Post: pgh2011
Import zpanel settings problem pgh2011 0 2 ,638 12-30-2020, 07:08 PM
Last Post: pgh2011

Forum Jump:


Users browsing this thread: 1 Guest(s)