2019年9月5日 午前 9:10:31


[root@falcon21 ~]# certbot certificates
bash: certbot: コマンドが見つかりませんでした...

Certbotクライアント再インストール
[root@falcon21 ~]# /usr/local/certbot/certbot-auto -n
Upgrading certbot-auto 0.37.2 to 0.38.0...
Replacing certbot-auto...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Missing command line flags. For non-interactive execution, you will need to specify a plugin on the command line. Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.
コマンドラインフラグがありません。 非対話型の実行では、コマンドラインでプラグインを指定する必要があります。
オプションのリストを表示するには「--help plugins」で実行し、プラグインの機能と使用方法の詳細についてはhttps://eff.org/letsencrypt-pluginsを参照してください。

[root@falcon21 ~]# /usr/local/certbot/certbot-auto -n --help plugins
usage:

  certbot plugins [options]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG_FILE, --config CONFIG_FILE
                        path to config file (default: /etc/letsencrypt/cli.ini
                        and ~/.config/letsencrypt/cli.ini)

plugins:
  Options for the "plugins" subcommand

  --init                Initialize plugins. (default: False)
  --prepare             Initialize and prepare plugins. (default: False)
  --authenticators      Limit to authenticator plugins only. (default: None)
  --installers          Limit to installer plugins only. (default: None)

plugins:
  Plugin Selection: Certbot client supports an extensible plugins
  architecture. See 'certbot plugins' for a list of all installed plugins
  and their names. You can force a particular plugin by setting options
  provided below. Running --help <plugin_name> will list flags specific to
  that plugin.

  --configurator CONFIGURATOR
                        Name of the plugin that is both an authenticator and
                        an installer. Should not be used together with
                        --authenticator or --installer. (default: Ask)
            認証者であると同時にプラグインの名前
            インストーラー。 と一緒に使用しないでください
             --authenticatorまたは--installer。 (デフォルト:確認)

  -a AUTHENTICATOR, --authenticator AUTHENTICATOR
                        Authenticator plugin name. (default: None)
  -i INSTALLER, --installer INSTALLER
                        Installer plugin name (also used to find domains).
                        (default: None)
  --apache              Obtain and install certificates using Apache (default:
                        False)
  --nginx               Obtain and install certificates using Nginx (default:
                        False)
  --standalone          Obtain certificates using a "standalone" webserver.
                        (default: False)
  --manual              Provide laborious manual instructions for obtaining a
                        certificate (default: False)
  --webroot             Obtain certificates by placing files in a webroot
                        directory. (default: False)
  --dns-cloudflare      Obtain certificates using a DNS TXT record (if you are
                        using Cloudflare for DNS). (default: False)
  --dns-cloudxns        Obtain certificates using a DNS TXT record (if you are
                        using CloudXNS for DNS). (default: False)
  --dns-digitalocean    Obtain certificates using a DNS TXT record (if you are
                        using DigitalOcean for DNS). (default: False)
  --dns-dnsimple        Obtain certificates using a DNS TXT record (if you are
                        using DNSimple for DNS). (default: False)
  --dns-dnsmadeeasy     Obtain certificates using a DNS TXT record (if you are
                        using DNS Made Easy for DNS). (default: False)
  --dns-gehirn          Obtain certificates using a DNS TXT record (if you are
                        using Gehirn Infrastracture Service for DNS).
                        (default: False)
  --dns-google          Obtain certificates using a DNS TXT record (if you are
                        using Google Cloud DNS). (default: False)
  --dns-linode          Obtain certificates using a DNS TXT record (if you are
                        using Linode for DNS). (default: False)
  --dns-luadns          Obtain certificates using a DNS TXT record (if you are
                        using LuaDNS for DNS). (default: False)
  --dns-nsone           Obtain certificates using a DNS TXT record (if you are
                        using NS1 for DNS). (default: False)
  --dns-ovh             Obtain certificates using a DNS TXT record (if you are
                        using OVH for DNS). (default: False)
  --dns-rfc2136         Obtain certificates using a DNS TXT record (if you are
                        using BIND for DNS). (default: False)
  --dns-route53         Obtain certificates using a DNS TXT record (if you are
                        using Route53 for DNS). (default: False)
  --dns-sakuracloud     Obtain certificates using a DNS TXT record (if you are
                        using Sakura Cloud for DNS). (default: False)


[root@falcon21 ~]# yum install certbot python-certbot-apache
==========================================================================================
Package アーキテクチャー
バージョン リポジトリー 容量
==========================================================================================
インストール中:
python2-certbot-apache noarch 0.36.0-1.el7 epel 240 k
更新します:
certbot noarch 0.36.0-1.el7 epel 39 k
依存性関連でのインストールをします:
pytest noarch 2.7.0-2.el7 base 757 k
python-py noarch 1.4.32-1.el7 base 341 k
依存性関連での更新をします:
python2-certbot noarch 0.36.0-1.el7 epel 575 k

トランザクションの要約
==========================================================================================
インストール 1 パッケージ (+2 個の依存関係のパッケージ)
更新 1 パッケージ (+1 個の依存関係のパッケージ)

総ダウンロード容量: 1.9 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): python-py-1.4.32-1.el7.noarch.rpm | 341 kB 00:00:00
(2/5): pytest-2.7.0-2.el7.noarch.rpm | 757 kB 00:00:00
(3/5): certbot-0.36.0-1.el7.noarch.rpm | 39 kB 00:00:00
(4/5): python2-certbot-0.36.0-1.el7.noarch.rpm | 575 kB 00:00:01
(5/5): python2-certbot-apache-0.36.0-1.el7.noarch.rpm | 240 kB 00:00:00
------------------------------------------------------------------------------------------
合計 1.5 MB/s | 1.9 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
更新します : python2-certbot-0.36.0-1.el7.noarch 1/7
更新します : certbot-0.36.0-1.el7.noarch 2/7
インストール中 : python-py-1.4.32-1.el7.noarch 3/7
インストール中 : pytest-2.7.0-2.el7.noarch 4/7
インストール中 : python2-certbot-apache-0.36.0-1.el7.noarch 5/7
整理中 : certbot-0.35.1-1.el7.noarch 6/7
warning: file /usr/share/licenses/certbot-0.35.1/LICENSE.txt: remove failed: No such file or directory
warning: file /usr/share/licenses/certbot-0.35.1: remove failed: No such file or directory
warning: file /usr/share/doc/certbot-0.35.1/README.rst: remove failed: No such file or dir ectory
warning: file /usr/share/doc/certbot-0.35.1/README.fedora: remove failed: No such file or directory
warning: file /usr/share/doc/certbot-0.35.1/CHANGELOG.md: remove failed: No such file or d irectory
warning: file /usr/share/doc/certbot-0.35.1: remove failed: No such file or directory
整理中 : python2-certbot-0.35.1-1.el7.noarch 7/7
検証中 : certbot-0.36.0-1.el7.noarch 1/7
検証中 : python2-certbot-0.36.0-1.el7.noarch 2/7
検証中 : python2-certbot-apache-0.36.0-1.el7.noarch 3/7
検証中 : python-py-1.4.32-1.el7.noarch 4/7
検証中 : pytest-2.7.0-2.el7.noarch 5/7
検証中 : python2-certbot-0.35.1-1.el7.noarch 6/7
検証中 : certbot-0.35.1-1.el7.noarch 7/7

インストール:
python2-certbot-apache.noarch 0:0.36.0-1.el7

依存性関連をインストールしました:
pytest.noarch 0:2.7.0-2.el7 python-py.noarch 0:1.4.32-1.el7

更新:
certbot.noarch 0:0.36.0-1.el7

依存性を更新しました:
python2-certbot.noarch 0:0.36.0-1.el7

完了しました!
New leaves:
python2-certbot-apache.noarch


**********************
[root@falcon21 ~]# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Attempting to parse the version 0.37.2 renewal configuration file found at /etc/letsencrypt/renewal/falcon21.space.conf with version 0.36.0 of Certbot. This might not work.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: falcon21.space
Domains: falcon21.space mail.falcon21.space
Expiry Date: 2019-12-02 05:03:01+00:00 (VALID: 88 days)
Certificate Path: /etc/letsencrypt/live/falcon21.space/fullchain.pem
Private Key Path: /etc/letsencrypt/live/falcon21.space/privkey.pem

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


 

投票数:0 平均点:0.00

 
Back to Top