Reply To: kusanagi ssl –email 時にエラーが発生します。

TOP Forums インストール(Installing KUSANAGI) kusanagi ssl –email 時にエラーが発生します。 Reply To: kusanagi ssl –email 時にエラーが発生します。

#1265
domainky
Participant

    再送です。(-fqdn http://www.sample.com が –fqdn http://http://www.sample.com になっていたため)

    お世話になります。

    Esxi7.0 で KUSANAGI9を新規にインストールしています。
    (3)のSSLの操作でエラーが発生しておりますので、エラーの修正法があればご教示ください。
    また無視してよいエラーであればその旨、ご教示いただけますと幸いです。

    手順ここから———-
    1.KUSANAGIのプロビジョニングでは、後からSSL化を行うため、–noemailで実行しました。
    kusanagi provision –wp –wplang ja –fqdn http://www.sample.com –noemail –dbname * –dbuser * –dbpass “*” site

    2.WORDPRESSの初期設定を行い、WORDPRESSを初期化しました。
     ページにアクセスできることを確認しました。

    3.sslを設定するため、以下コマンドを実行すると「Execution failed」のエラーが発生します。
    kusanagi ssl –email sample@gmail.com site
    ———-ここまで手順

    [root@localhost ~]# kusanagi ssl –email sample@gmail.com site

    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Account registered.
    Requesting a certificate for http://www.sample.com

    Successfully received certificate.
    Certificate is saved at: /etc/letsencrypt/live/www.sample.com/fullchain.pem
    Key is saved at: /etc/letsencrypt/live/www.sample.com/privkey.pem
    This certificate expires on 2023-12-09.
    These files will be updated when the certificate renews.
    Certbot has set up a scheduled task to automatically renew this certificate in the background.

    – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
    If you like Certbot, please consider supporting our work by:
    * Donating to ISRG / Let’s Encrypt: https://letsencrypt.org/donate
    * Donating to EFF: https://eff.org/donate-le
    – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –

    ★★★エラー(ここから)
    Execution failed: env RENEWED_LINAGE=/etc/letsencrypt/live/www.sample.com /opt/kusanagi/bin/ct-submit.sh
    Return code was 1

    ★★★エラー(ここまで)

    ssl email completed.
    Auto renewal of certificate enabled.
    ssl auto completed.
    restart completed.
    ssl completed.

    以下はステータス情報です。
    [root@localhost ~]# kusanagi status

    KUSANAGI Version 9.4.0-1.el9
    vmware

    *** (active) nginx : nginx125 ***
    * nginx.service – The NGINX HTTP and reverse proxy server
    Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: disabled)
    Active: active (running) since Sun 2023-09-10 20:28:38 UTC; 2h 7min ago

    *** (inactive) httpd : httpd ***
    * httpd.service – The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; preset: disabled)
    Active: inactive (dead)

    *** (active) php : php74 ***
    * php-fpm.service – The PHP FastCGI Process Manager
    Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; preset: disabled)
    Active: active (running) since Sat 2023-09-09 21:01:43 UTC; 1 day 1h ago

    *** (active) mariadb : mariadb10.5 ***
    * mariadb.service – MariaDB 10.5.22 database server
    Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled)
    Active: active (running) since Sat 2023-09-09 21:02:01 UTC; 1 day 1h ago

    *** (inactive) psql : ***

    *** (inactive) pgpool-II : ***

    *** python ***
    Python 3.9.18

    *** ruby ***
    ruby is not installed.

    *** Cache status ***

    *** WAF ***
    off

    *** SELinux ***
    off

    status completed.
    [root@localhost ~]#