Subversion Repositories php-qbpwcf

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
255 liveuser 1
<?php
2
 
3
/*
4
	QBPWCF, Quick Build PHP website Component base on Fedora Linux.
5
    Copyright (C) 2014~2026 MIN ZHI, CHEN
6
 
7
    This file is part of QBPWCF.
8
 
9
    QBPWCF is free software: you can redistribute it and/or modify
10
    it under the terms of the GNU General Public License as published by
11
    the Free Software Foundation, either version 3 of the License, or
12
    (at your option) any later version.
13
 
14
    QBPWCF is distributed in the hope that it will be useful,
15
    but WITHOUT ANY WARRANTY; without even the implied warranty of
16
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
    GNU General Public License for more details.
18
 
19
    You should have received a copy of the GNU General Public License
20
    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.
21
 
22
*/
23
 
24
#範例:
25
#以網域名稱 www.qbpwcf.org 的 httpd 與 qbpwcf-wss 服務為例子.
26
 
27
#網域名稱
28
$domainName="www.qbpwcf.org";
29
 
30
#certificate.crt的路徑
31
$certificatePath="/etc/pki/tls/certs/certificate.crt";
32
 
33
#private.key的路徑
34
$privateKey="/etc/pki/tls/private/private.key";
35
 
36
#ca_bundle.crt的路徑
37
$ca_bundlePath="/etc/pki/tls/certs/ca_bunle.crt";
38
 
39
#合併 certificate.crt 跟 ca_bundle.crt 的憑證路徑
40
$cert_and_ca_bundle_path="/etc/pki/tls/certs/certificate_and_ca_bunlde.crt";
41
 
42
#bind dns server 的 RR 檔案路徑
43
$RR_file_path="/etc/named/db.qbpwcf.org";
44
 
45
#bind dins server 的網路位置
46
$dns_server_addr="169.254.2.2";
47
 
48
#更新SSL憑證後要運行什麼指令來讓程式使用新的憑證,用";"區隔要執行的指令段落.
49
$action_after_update_certs="systemctl restart httpd;systemctl restart qbpwcf-wss.servcie";
50
 
51
#第n個要保持SSL憑證沒有過期的網域名稱
52
$domainName="yours.qbpwcf.org";
53
 
54
#....
55
 
56
?>