Sentora Support Forums
SSL Not working - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: SSL Not working (/showthread.php?tid=3893)



SSL Not working - honey_sh - 07-19-2017

Hello!

We have installed SSL following all steps mentioned here: http://www.tanertemel.co.uk/2016/04/sentora-how-to-install-ssl-certificate.html 

But when browse to website with HTTPS, it shows the message: "The document has moved here" as shown here: http://storage7.static.itmages.com/i/17/0718/h_1500394509_9999944_0be46d43ea.png

After removing SSL, the normal http works fine. 

Please let me know.

Kind regards!


RE: SSL Not working - TGates - 07-19-2017

I suggest using one of the Let's Encrypt tutorials in our Docs and just edit the SSL file/folder paths and names to match your configuration. (If you already have your own Certificate, of course you can skip the installation parts of Let's Encrypt.)


RE: SSL Not working - honey_sh - 07-19-2017

(07-19-2017, 03:39 AM)TGates Wrote: I suggest using one of the Let's Encrypt tutorials in our Docs and just edit the SSL file/folder paths and names to match your configuration. (If you already have your own Certificate, of course you can skip the installation parts of Let's Encrypt.)

@TGates,

Thank you so much for your reply.

I have also followed this documentation: http://docs.sentora.org/?node=21 but still the same issue.

We have purchased SSL Certificates from GoDaddy.

Please let me know.

Kind regards!


RE: SSL Not working - TGates - 07-19-2017

(07-19-2017, 04:46 AM)honey_sh Wrote: @TGates,

Thank you so much for your reply.

I have also followed this documentation: http://docs.sentora.org/?node=21 but still the same issue.

We have purchased SSL Certificates from GoDaddy.

Please let me know.

Kind regards!

I have not used or tested the tutorials for Ubuntu or CentOS. By looking at them they are a bit more complicated compared to the detailed ones I wrote for Let's Encrypt. I know those will work if you just change the file and folder paths Wink

Basically:

Put your Certificates here (Create folder if needed setting permissions to match the [username] folder):
Code:
/var/sentora/hostdata/[username]/ssl/

Then:
Changing Domain port:
On Sentora Panel go to Admin -> Module Admin -> Apache Config > Override a Virtualhost [Select VHost] ->
Tick Port Override.
Forward Port 80 to Overriden Port: 443
Custom Entry:

Don't forget to replace domain.cert and domain.key with your certificate's file names and [username] with the proper user name:

Code:
SSLEngine on SSLProtocol ALL -SSLv2 -SSLv3 SSLHonorCipherOrder On SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS SSLCertificateFile /var/sentora/hostdata/[username]/ssl/domain.cert SSLCertificateKeyFile /var/sentora/hostdata/[username]/ssl/domain.key # Keeping bellow for future upgrades. # Requires Apache >= 2.4 SSLCompression off

 Save Vhost.

Wait on daemon update or run it manually and restart apache.
NOTICE: For CentOS replace apache2 with httpd

Code:
php -q /etc/sentora/panel/bin/daemon.php service apache2 restart


Your domain should now be secured by SSL.
You can test it here: https://www.ssllabs.com/ssltest/