質問するログイン新規登録

質問編集履歴

2

エラー文などを追加

2020/02/04 08:37

投稿

sato_k
sato_k

スコア12

title CHANGED
File without changes
body CHANGED
@@ -29,4 +29,48 @@
29
29
 
30
30
  ※参考にしたサイト
31
31
  https://designsupply-web.com/developmentlab/4485/
32
- https://www.t3a.jp/blog/infrastructure/invalid-tlssni01/
32
+ https://www.t3a.jp/blog/infrastructure/invalid-tlssni01/
33
+
34
+
35
+
36
+ ### 追記事項
37
+
38
+ **1.certbot --version を叩くと、以下のエラーが出ます。**
39
+
40
+ An unexpected error occurred:
41
+ AttributeError: 'module' object has no attribute 'TLSSNI01'
42
+ Please see the logfile '/tmp/tmpL37e0G/log' for more details.
43
+
44
+ **2.yum list installed|grep certbot の結果**
45
+
46
+ certbot.noarch 1.0.0-1.el7 @epel
47
+ python2-certbot.noarch 1.0.0-1.el7 @epel
48
+ python2-certbot-apache.noarch 0.39.0-1.el7 @epel
49
+
50
+ **3.
51
+ /tmp/tmpXXXX(毎回英数字が変わる)/log の中身**
52
+
53
+ 2020-02-04 16:39:34,229:DEBUG:certbot._internal.log:Exiting abnormally:
54
+ Traceback (most recent call last):
55
+ File "/bin/certbot", line 9, in <module>
56
+ load_entry_point('certbot==1.0.0', 'console_scripts', 'certbot')()
57
+ File "/usr/lib/python2.7/site-packages/certbot/main.py", line 14, in main
58
+ return internal_main.main(cli_args)
59
+ File "/usr/lib/python2.7/site-packages/certbot/_internal/main.py", line 1320, in main
60
+ plugins = plugins_disco.PluginsRegistry.find_all()
61
+ File "/usr/lib/python2.7/site-packages/certbot/_internal/plugins/disco.py", line 208, in find_all
62
+ plugin_ep = PluginEntryPoint(entry_point)
63
+ File "/usr/lib/python2.7/site-packages/certbot/_internal/plugins/disco.py", line 50, in __init__
64
+ self.plugin_cls = entry_point.load()
65
+ File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
66
+ entry = __import__(self.module_name, globals(),globals(), ['__name__'])
67
+ File "/usr/lib/python2.7/site-packages/certbot_apache/entrypoint.py", line 8, in <module>
68
+ from certbot_apache import configurator
69
+ File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 35, in <module>
70
+ from certbot_apache import http_01
71
+ File "/usr/lib/python2.7/site-packages/certbot_apache/http_01.py", line 17, in <module>
72
+ class ApacheHttp01(common.TLSSNI01):
73
+ File "/usr/lib/python2.7/site-packages/certbot/plugins/common.py", line 445, in __getattr__
74
+ return getattr(self._module, attr)
75
+ AttributeError: 'module' object has no attribute 'TLSSNI01'
76
+ 2020-02-04 16:39:34,229:ERROR:certbot._internal.log:An unexpected error occurred:

1

OSを追記しました

2020/02/04 08:37

投稿

sato_k
sato_k

スコア12

title CHANGED
File without changes
body CHANGED
@@ -1,5 +1,8 @@
1
1
  さくらのVPSで構築したサーバー内にあるサイトのSSL証明書有効日が近いので更新しようとしたところ、以下のようなエラーが出てしまいました。
2
2
 
3
+ ▼OS
4
+ CentOS7
5
+
3
6
  ▼SSLの種類
4
7
  Let’s Encrypt
5
8