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
#51
RE: [Module] Certificate Manager
Why do I get a redirect issue?
"This webpage has a redirect loop"

I have disabled all redirects on my htaccess... still the same problem..

How can I diagnose this?
Reply
Thanks given by:
#52
RE: [Module] Certificate Manager
Hi I have follow the step on page 1, but it's still not resolve to https.
I haven't install mod_ssl on my vps

here is my vhost after activate the  [Module] Certificate Manager


Quote:# DOMAIN: indonesiaidekreatif.xyz
<virtualhost *:443>
ServerName indonesiaidekreatif.xyz
ServerAlias www.indonesiaidekreatif.xyz
ServerAdmin support@expertseowebsite.tk
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/indonesiaidekreatif_xyz"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/indonesiaidekreatif_xyz:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_s$
ErrorLog "/var/sentora/logs/domains/zadmin/indonesiaidekreatif.xyz-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/indonesiaidekreatif.xyz-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/indonesiaidekreatif.xyz-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/indonesiaidekreatif_xyz">
Options +FollowSymLinks -Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)
# Made from Cert manager start

SSLEngine On
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl/indonesiaidekreatif_xyz/indonesiaidekreatif.xyz.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl/indonesiaidekreatif_xyz/indonesiaidekreatif.xyz.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl/indonesiaidekreatif_xyz/intermediate.crt
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder on
SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+AESGCM EECDH EDH+AESGCM EDH+aRSA H$
# Made from Cert manager end

</virtualhost>
# END DOMAIN: indonesiaidekreatif.xyz
################################################################



# DOMAIN: indonesiaidekreatif.xyz
# PORT FORWARD FROM 80 TO: 443
<virtualhost *:80>
ServerName indonesiaidekreatif.xyz
ServerAlias www.indonesiaidekreatif.xyz
ServerAdmin support@expertseowebsite.tk
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</virtualhost>
# END DOMAIN: indonesiaidekreatif.xyz

But when I restart the httpd service it's showing error :

Quote:Starting httpd: Syntax error on line 270 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

I dont know where is the wrong. Did I miss something?

I have try to browse around the forum but didn't found what I am looking for.

Please help.

Thank's
Reply
Thanks given by:
#53
RE: [Module] Certificate Manager
Generated a self signed cert to test out but I ended up with a year comodo signed cert?

Sure, ill take that lmao

Edit: It also appears to break normal domains when using port 8080. It loads the control panel login screen on port 8080 and the main website on 443. Even after removing the cert it's still broken.

Edit again: even using port 80 it kills everything
Reply
Thanks given by:
#54
RE: [Module] Certificate Manager
(12-31-2015, 09:32 AM)Jakeey802 Wrote: Generated a self signed cert to test out but I ended up with a year comodo signed cert?

Sure, ill take that lmao

Edit: It also appears to break normal domains when using port 8080. It loads the control panel login screen on port 8080 and the main website on 443. Even after removing the cert it's still broken.

Edit again: even using port 80 it kills everything

Same exact scenario with me, it generated the certificate fine, site loaded fine in https, 5 minutes later and every page gives me connection refused. I've re-installed my OS (Centos 7) 3 times, same results. # out the port 443 listen, too.
Reply
Thanks given by:
#55
RE: [Module] Certificate Manager
and remember this part

have come some things that should be directed to the works on centos 7 and 6.5

after SSL has been Activated your must open /etc/httpd/conf.d/ssl.conf and add # before listen 443 and save
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
Thanks given by:
#56
RE: [Module] Certificate Manager
Yer, it was working before, but now (Ubuntu 14.04) it tends to mess up other sites... Doing some more testing.
-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:
#57
RE: [Module] Certificate Manager
Update: It works perfect as long as I do not use it for my panel login. If I use it for my panel login things get messed up. It redirects my panel login to my main site although the httpd-vhosts.conf file looks OK... Hmmm...
-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:
#58
RE: [Module] Certificate Manager
Works fine for 5-10 minutes then everything goes to ERR:CONNECTION:REFUSED
Followed all steps, including commenting out the port 443 listen....
Reply
Thanks given by:
#59
RE: [Module] Certificate Manager
A general remark for people expirence trouble with the port 443 listen. When you install open-ssl for the first with yum in centos 6 or 7 you have to edit the ssl.conf file in the /etc/httpd/conf.d directory:

comment out the  namevirtualhost and listen lines:

Code:
# When we also provide SSL we have to listen to the
# the HTTPS port in addition.
#
#Listen
443
#NameVirtualHost
*:443
[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: TGates
#60
RE: [Module] Certificate Manager
(01-12-2016, 10:20 PM)bbspike Wrote: A general remark for people expirence trouble with the port 443 listen. When you install open-ssl for the first with yum in centos 6 or 7 you have to edit the ssl.conf file in the /etc/httpd/conf.d directory:

comment out the  namevirtualhost and listen lines:

Code:
# When we also provide SSL we have to listen to the
# the HTTPS port in addition.
#
#Listen
443
#NameVirtualHost
*:443

I've got it up and running, however, commenting out <VirtualHost _default_:443> was killing everything.
I'm not sure what I did differently.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] phpMyAdmin-AU (Auto-Update) TGates 14 40 ,536 06-15-2021, 06:54 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 43 ,249 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 13 ,026 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 2 Guest(s)