Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mekosaad

Pages: 1 [2]
16
SSL / Problem when I add ssl
« on: March 24, 2015, 09:08:32 AM »
First thing shows me

Code: [Select]
# vhost_start site.com
<Virtualsite 11.111.111.111:443>
 ServerName site.com
 ServerAlias www.site.com
 DocumentRoot /home/site/public_html
 SSLEngine on
 SSLCertificateFile /etc/pki/tls/certs/site.com.cert
 SSLCertificateKeyFile /etc/pki/tls/private/site.com.key
 SSLCertificateChainFile /etc/pki/tls/certs/site.com.bundle
<IfModule mod_suexec.c>
    SuexecUserGroup site site
</IfModule>

<IfModule mod_suphp.c>
    suPHP_UserGroup host site
    suPHP_ConfigPath /home/site
</IfModule>

<Directory "/home/site/public_html">
    AllowOverride All
</Directory>
</VirtualHost>
# vhost_end site.com

SUCCESS! SSL Certificate for domain site.com installed in: /usr/local/apache/conf.d/vhosts-ssl.conf !
SUCCESS! SSL Certificate added to CWP configuration file


And stops Apache

Stopping httpd: [  OK  ]
Starting httpd: Syntax error on line 34 of /usr/local/apache/conf.d/vhosts-ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/site.com.cert' does not exist or is empty
[FAILED

https works without a problem you do through checking this site
https://www.sslshopper.com/ssl-checker.html

17
DNS / Re: Problem in the subdomain
« on: March 24, 2015, 08:35:42 AM »
When I am doing Restart for this service
BIND DNS Server
Apache stops working after deleting your dns domain of this file named.conf

Code: [Select]
Stopping named: .[  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
/var/named/111111.com.db:24: file does not end with newline
zone 1111111.com/IN: NS 'free1.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: NS 'free2.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: not loaded due to errors.
_default/1111111.com/IN: bad zone
zone test.1111111.com/IN: loading from master file /var/named/test.1111111.com.db failed: file not found
zone test.1111111.com/IN: not loaded due to errors.
_default/test.1111111.com/IN: file not found
[FAILED]

To resolve the problem do I delete nameserver for this domain of nameserver file

Code: [Select]
// zone 111111.com
zone "111111.com" {
                                   type master;
                                        file "/var/named/111111.com.db";};
// zone_end 111111.com

// zone test.111111.com
zone "test.111111.com" {
                                   type master;
                                        file "/var/named/test.111111.com.db";};
// zone_end test.111111.com

But the location stops and give me this message
Can not open files on the server because the files permits

18
DNS / Problem in the subdomain
« on: March 23, 2015, 11:19:02 PM »
When I create a new site on a subdomain
Works without a problem but that you do dns Restart Apache stops and gives me errors in the file named
What to solve this problem

Pages: 1 [2]