kusanagi ssl --email 時にエラーが発生します。
TOP › Forums › インストール(Installing KUSANAGI) › kusanagi ssl --email 時にエラーが発生します。
kusanagi ssl --email 時にエラーが発生します。
- This topic has 4 replies, 2 voices, and was last updated 2 years, 1 month ago by domainky. 
- 
		AuthorPosts
- 
		
			- 
2023年9月10日 at 22:46 #1264お世話になります。 Esxi7.0 で KUSANAGI9を新規にインストールしています。 
 (3)のSSLの操作でエラーが発生しておりますので、エラーの修正法があればご教示ください。
 また無視してよいエラーであればその旨、ご教示いただけますと幸いです。手順かから---------- 
 1.KUSANAGIのプロビジョニングでは、後からSSL化を行うため、--noemailで実行しました。
 kusanagi provision --wp --wplang ja --fqdn http://www.sample.com --noemail --dbname * --dbuser * --dbpass "*" site2.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.comSuccessfully 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 statusKUSANAGI 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 *** 
 offstatus completed. 
 [root@localhost ~]#
- 
2023年9月11日 at 12:50 #1265再送です。(-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 "*" site2.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.comSuccessfully 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 statusKUSANAGI 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 *** 
 offstatus completed. 
 [root@localhost ~]#
- 
2023年9月11日 at 12:52 #1266管理者様、wwwの前に勝手にHTTP://が追加されてしまい、正確な情報をお伝えすることができません。 
- 
2023年9月11日 at 13:27 #1267domainky さん、こんにちは。 `
 ssl email completed.
 Auto renewal of certificate enabled.
 ssl auto completed.
 restart completed.
 ssl completed.
 `一応、正常に完了しているように見えます。 
 ブラウザ、もしくは openssl コマンド等から、正しく TLS/SSL が適用できているか確認してみてください。TLS/SSL に関しては、下記の記事も参考にしてください。 エラーの確認に関しましては、下記の記事を参考にしてみてください。 コマンド実行が完了しているかどうかは、記事に書いてあるとおり、コマンド実行直後に `
 $ echo $?
 `を実行して、どんな値が返ってきているか確認してみてください。 
- 
2023年9月11日 at 23:12 #1268cloudy さん 
 さっそくの回答ありがとうございます。コマンド終了後に「echo $?」を実行したところ「0」が返ってきました。 
 正常終了したものだと認識しました。ありがとうございます。 
 
- 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
