|
|||||||
| Home | Forums | Search KB | Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
| Tutorials How-To's and tutorials on common hosting related tasks and activities. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Moderator
Master
Join Date: Feb 2006
Posts: 634
|
How-To Install SSL on a subdomain on Plesk 8
I don't know where SW Soft gets off suggesting that PSA8 has SSL support for subdomains because it doesn't. I had to hack my way around their shortcomings so here's how I did it.
1. Add your subdomain You can do this as a normal subdomain or as a standalone domain. I haven't tried this with a normal subdomain but it should work. 2. Add your certificate to Plesk Use the Plesk control panel to add your certificate. Where the shortcoming comes into play is that Plesk will continue to use the default certificate. 3. Find your certificate SSH in and head over to /usr/local/psa/var/certificates and do Code:
#ls -la 4.Copy the include file go to /var/www/vhosts/sub.domain.com/conf and open the httpd.include file Find where it has Code:
ServerName sub.domain.com:443 5. Make your include file Head over to /etc/httpd/conf.d and make a file. Call it something like z0-include.conf. We need this file to load after ssl.conf but before zz010_psa_httpd.conf. Paste your entire file in. Now look for this line Code:
SSLCertificateFile /usr/local/psa/var/certificates/cert-xxxxxx 6. Restart Apache Code:
#service httpd restart |
|
|
|
|
|
#2 |
|
Junior Member
Newbie
Join Date: Feb 2007
Posts: 1
|
thanks
that worked well
you rock! I am beginning to become a bit disillusioned by SW Soft |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|