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.

Global Sentora entry
#1
Global Sentora entry
Hello everyone,

So I decided to buy an SSL certificate, followed every step from Sentora SSL installation.

Got stuck at this,



Insert into SentoraCP
go to Sentora -> Admin -> Module Admin => Apache Admin
Copy and paste into Global Sentora entry:
Redirect Permanent / https://Sentora.id-network.org/

So now, when I try to connect to my panel, https://panel.COMPANYNAME.com/ it redirects me to sentora.id-network.org/

Is there anyway I can change it pack to https://panel.COMPANYNAME.com/ ? Please help.
Reply
Thanks given by:
#2
RE: Global Sentora entry
Undo your changes? If you cant access your panel, try using the server IP or editing the httpd-vhosts.conf file manually and remove the entries, restart apache, log in as zadmin and quickly remove the changes.

And if you want to use SSL, use this module: http://forums.sentora.org/showthread.php?tid=2001
-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: Samuel
#3
RE: Global Sentora entry
I couldn't get to undo the changes, Can't access my panel, I tried using the servers IP and also tried editing the httpd-vhosts.conf file manually by removing the entries. I restarted apache, but I now cannot connect to the panel from anything, domain, IP (external/localhost).

Also installed that module, but now my httpd is not working,


Code:
httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
  Active: failed (Result: exit-code) since Tue 2015-11-10 18:16:24 CET; 3s ago
 Process: 6482 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
 Process: 6480 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 6480 (code=exited, status=1/FAILURE)

Nov 10 18:16:24 bydcode.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 10 18:16:24 bydcode.com kill[6482]: kill: cannot find process ""
Nov 10 18:16:24 bydcode.com systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 10 18:16:24 bydcode.com systemd[1]: Failed to start The Apache HTTP Server.
Nov 10 18:16:24 bydcode.com systemd[1]: Unit httpd.service entered failed state.
Reply
Thanks given by:
#4
RE: Global Sentora entry
Reinstalled the OS, got new Sentora. Solved everything. Now trying with SSL again.
Reply
Thanks given by:
#5
RE: Global Sentora entry
Ok, let us know how it turns out.
-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:
#6
RE: Global Sentora entry
You can also use the panels .htaccess file with these lines:

Code:
RewriteEngine on
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://sub.domain.com/$1 [R,L]
[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: Samuel
#7
RE: Global Sentora entry
So I've tried to get the SSL working from this module, http://forums.sentora.org/showthread.php?tid=2001
Not working.
Unless I'm doing something wrong? I've bought the SSL Certificate from GoDaddy but I'm hosting the website on my dedicated server, all ports are opened. http:// works but https:// does not.

[Image: eap404.png]
Sorry for having some Polish language in this screenshot.

@TGates GoDaddy supplied me with two .crt files, but this module wants two .cer files. I have a .key that I made using OpenSSL. The OpenSSL also made another file, SOMETHING.csr.

Is there a way I will be able to know which file to put where? Just talking about the two .cer upload file fields. (Signed Server Certificate & CA Certificate). Am I supposed to change the extensions from .csr & .crt to .cer?

Thank you for your time.
Reply
Thanks given by:
#8
RE: Global Sentora entry
Okay, so another update, basically, the /etc/httpd/conf.d/ssl.conf does not want to read my .crt/.key file? Why and How? It only wants to read the localhost.crt/localhost.key?
Reply
Thanks given by:
#9
RE: Global Sentora entry
SSL Works Cool ! But this is what I get now..

[Image: 3343cj6.png]

Might anyone know how to fix that? What could cause the error?

Best Regards,
Samuel.
Reply
Thanks given by:
#10
RE: Global Sentora entry
One more update, so basically, the http:// and https:// work, but somehow, the website exists on the http:// and the default index page is on the https://
I'm trying to put files under /var/www/html/ but nothing appears. I don't know what to do.

Regards,
Samuel
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,971 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,590 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,334 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 2 Guest(s)