Subversion Repositories php-qbpwcf

Rev

Blame | Last modification | View Log | RSS feed

<?php

/*
        QBPWCF, Quick Build PHP website Component base on Fedora Linux.
    Copyright (C) 2014~2026 MIN ZHI, CHEN

    This file is part of QBPWCF.

    QBPWCF is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    QBPWCF is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with QBPWCF.  If not, see <http://www.gnu.org/licenses/>.

*/

#範例:
#以網域名稱 www.qbpwcf.org 的 httpd 與 qbpwcf-wss 服務為例子.

#網域名稱
$domainName="www.qbpwcf.org";

#certificate.crt的路徑
$certificatePath="/etc/pki/tls/certs/certificate.crt";

#private.key的路徑
$privateKey="/etc/pki/tls/private/private.key";

#ca_bundle.crt的路徑
$ca_bundlePath="/etc/pki/tls/certs/ca_bunle.crt";

#合併 certificate.crt 跟 ca_bundle.crt 的憑證路徑
$cert_and_ca_bundle_path="/etc/pki/tls/certs/certificate_and_ca_bunlde.crt";

#bind dns server 的 RR 檔案路徑
$RR_file_path="/etc/named/db.qbpwcf.org";

#bind dins server 的網路位置
$dns_server_addr="169.254.2.2";

#更新SSL憑證後要運行什麼指令來讓程式使用新的憑證,用";"區隔要執行的指令段落.
$action_after_update_certs="systemctl restart httpd;systemctl restart qbpwcf-wss.servcie";

#第n個要保持SSL憑證沒有過期的網域名稱
$domainName="yours.qbpwcf.org";

#....

?>