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.

How to install SSL certificate on a sub-domain
#1
[Solved] How to install SSL certificate on a sub-domain
Hi ,

I purchased a ssl certificate from godaddy and i would like to install the certificate on following domain format i.e

Quote:subdomain.domain.com


kindly guide me how can i install the certificate. Also how can i update how certificate after a year
Reply
Thanks given by:
#2
[Solved] RE: How to install SSL certificate on a sub-domain
You can follow this instructions at http://docs.sentora.org/?node=103
You will have to change the location of the certificate to where you have it located on your server.
I use WinSCP to browse through / edit files.

Steps:
Changing Sentora 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.com with your domain's URL below:)

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 /etc/letsencrypt/live/domain.com/cert.pem

SSLCertificateKeyFile /etc/letsencrypt/live/domain.com/privkey.pem

SSLCertificateChainFile /etc/letsencrypt/live/domain.com/chain.pem

# 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
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/
Reply
Thanks given by: TGates
#3
[Solved] RE: How to install SSL certificate on a sub-domain
Hi

This is are the list of files available in the zip which received in my email

AddTrustExternalCARoot.crt
COMODORSAAddTrustCA.crt
COMODORSADomainValidationSecureServerCA.crt
subdomain_domain_com.crt

replaced my subdomain name for last crt file

how should i need to replace in the above code
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Adding New Domain elmucho 2 273 02-01-2018, 09:47 AM
Last Post: elmucho
add new domain need restart before it shows the containing files dforthster 6 330 01-27-2018, 07:40 AM
Last Post: dforthster
apt-get install mod_ssl ERROR CMs222 3 245 01-17-2018, 01:57 AM
Last Post: CMs222

Forum Jump:


Users browsing this thread: 1 Guest(s)