Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jan 12, 2018 11:51 pm 
Offline

Joined: Fri Jan 12, 2018 11:40 pm
Posts: 1
how can apply my wildcard ssl on my subdomains

https://www.haxtax.com (working)


http://tm.haxtax.com (working but not secure)


https://tm.haxtax.com (not working)

why ssl not working on my sub domains ?




https://www.haxtax.com Linode IP :172.104.160.66

http://tm.haxtax.com Linode IP : 172.104.181.225



############################################
############# tm.haxtax.com.conf ###########
############################################

# domain: tm.haxtax.com
# public: /var/www/html/haxtax.com/public_html/tm/
<VirtualHost *:443>

# Admin email, Server Name (domain name), and any aliases
ServerAdmin webmaster@haxtax.com
ServerName tm.haxtax.com
ServerAlias www.tm.haxtax.com

# Index file and Document Root (where the public files are located)
DirectoryIndex index.html index.php
DocumentRoot /var/www/html/haxtax.com/public_html/tm/
# Log file locations
LogLevel warn
ErrorLog /var/www/html/haxtax.com/log/error.log
CustomLog /var/www/html/haxtax.com/log/access.log combined

SSLEngine On
SSLCertificateFile /etc/ssl/haxtax.com.crt
SSLCertificateKeyFile /etc/ssl/private/*.haxtax.com.key
SSLCACertificateFile /etc/ssl/certs/ca-certificates.crt
#If using a self-signed certificate, omit this line
</VirtualHost>


<VirtualHost *:80>
Redirect / https://tm.haxtax.com/
</VirtualHost>


Top
   
PostPosted: Fri Feb 09, 2018 9:45 am 
Offline
Senior Member

Joined: Thu Nov 16, 2017 6:59 am
Posts: 137
Code:
emestee@bg-ops:~$ telnet tm.haxtax.com 443
Trying 172.104.181.225...
telnet: Unable to connect to remote host: Connection refused
Your webserver isn't listening on port 443.
Code:
SSLCertificateKeyFile /etc/ssl/private/*.haxtax.com.key
This is not valid syntax and would prevent your webserver from starting. You shouldn't have *s in file names.

_________________
- emestee,
Lord System Administrator


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group