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
#4
RE: How to install SSL certificate on a sub-domain
(02-16-2018, 05:25 PM)sathish2009 Wrote: 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

Hi, have you not considered LetsEncrypt?

There's a great guide on how to do it for Sentora, it's very easy and it's free: 

http://docs.sentora.org/?node=103

I use this extensively across my server, pretty much for all domains and subdomains.. The main thing is, the primary domain (for example domain.com) requires you to apply a certificate to both the TLD and the "www." part. as seen in the guide.

To explain, here's a breakdown:

Code:
./letsencrypt-auto certonly --standalone -d domain.com -d www.domain.com

    ^ The command to get the certificate      ^ the TLD      ^ the WWW.

if you want to encrypt just a subdomain (for example, abc.domain.com), the command would be:

Code:
./letsencrypt-auto certonly --standalone -d abc.domain.com
   ^ The command to get the certificate       ^ the subdomain

Be careful to follow the rest of the instructions very carefully from the guide, otherwise you'll kill your VHOSTS file, causing Apache to not start.

Hope this helps!
Reply
Thanks given by: TGates


Messages In This Thread
RE: How to install SSL certificate on a sub-domain - by aaronlroberts - 03-23-2018, 07:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
apt-get install mod_ssl ERROR CMs222 9 25 ,874 11-11-2022, 09:14 PM
Last Post: zustudios
Public_html Inside Domain/Subdomain zHostingSolutions 2 4 ,175 07-23-2021, 09:57 AM
Last Post: Nigel
https without certificate redirects to panel iraqiboy90 10 19 ,666 02-28-2021, 11:20 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)