質問編集履歴

2

コメントができないので追記

2017/10/06 05:07

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -2,176 +2,220 @@
2
2
 
3
3
 
4
4
 
5
- 現在下記にいます。
5
+
6
+
7
+
6
8
 
7
9
  ```ここに言語を入力
8
10
 
9
- root@DESKTOP:/# ls
10
-
11
- acct boot data etc init lib64 media op
12
-
13
-
14
-
15
- t root sbin sys usr
16
-
17
- bin cache dev home lib lost+found mnt proc run srv tmp var
11
+ System32/acme.sh-master$ sudo
12
+
13
+ sudo: ホスト DESKTOP- の名前解決ができません
14
+
15
+
16
+
17
+ [2017年 10月 6日 金曜日 13:38:11 DST] _saved_account_key_hash is not changed, skip register account.
18
+
19
+ [2017年 10月 6日 金曜日 13:38:11 DST] Read key length:
20
+
21
+ [2017年 10月 6日 金曜日 13:38:11 DST] _createcsr
22
+
23
+ [2017年 10月 6日 金曜日 13:38:11 DST] Single domain='my'
24
+
25
+ [2017年 10月 6日 金曜日 13:38:12 DST] Getting domain auth token for each domain
26
+
27
+ [2017年 10月 6日 金曜日 13:38:12 DST] Getting webroot for domain='my'
28
+
29
+ [2017年 10月 6日 金曜日 13:38:12 DST] _w='/httpdocs'
30
+
31
+ [2017年 10月 6日 金曜日 13:38:12 DST] _currentRoot='/httpdocs'
32
+
33
+ [2017年 10月 6日 金曜日 13:38:12 DST] Getting new-authz for domain='my'
34
+
35
+ [2017年 10月 6日 金曜日 13:38:12 DST] _init api for server: https://acme-v01.api.letsencrypt.org/directory
36
+
37
+ [2017年 10月 6日 金曜日 13:38:12 DST] ACME_KEY_CHANGE='https://acme-v01.api.letsencrypt.org/acme/key-change'
38
+
39
+ [2017年 10月 6日 金曜日 13:38:12 DST] ACME_NEW_AUTHZ='https://acme-v01.api.letsencrypt.org/acme/new-authz'
40
+
41
+ [2017年 10月 6日 金曜日 13:38:12 DST] ACME_NEW_ORDER='https://acme-v01.api.letsencrypt.org/acme/new-cert'
42
+
43
+ [2017年 10月 6日 金曜日 13:38:12 DST] ACME_NEW_ACCOUNT='https://acme-v01.api.letsencrypt.org/acme/new-reg'
44
+
45
+ [2017年 10月 6日 金曜日 13:38:12 DST] ACME_REVOKE_CERT='https://acme-v01.api.letsencrypt.org/acme/revoke-cert'
46
+
47
+ [2017年 10月 6日 金曜日 13:38:12 DST] Try new-authz for the 0 time.
48
+
49
+ [2017年 10月 6日 金曜日 13:38:13 DST] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
50
+
51
+ [2017年 10月 6日 金曜日 13:38:13 DST] payload='{"resource": "new-authz", "identifier": {"type": "dns", "value": "my"}}'
52
+
53
+ [2017年 10月 6日 金曜日 13:38:13 DST] RSA key
54
+
55
+ [2017年 10月 6日 金曜日 13:38:13 DST] GET
56
+
57
+ [2017年 10月 6日 金曜日 13:38:13 DST] url='https://acme-v01.api.letsencrypt.org/directory'
58
+
59
+ [2017年 10月 6日 金曜日 13:38:13 DST] timeout
60
+
61
+ [2017年 10月 6日 金曜日 13:38:14 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header '
62
+
63
+ [2017年 10月 6日 金曜日 13:38:15 DST] ret='0'
64
+
65
+ [2017年 10月 6日 金曜日 13:38:16 DST] POST
66
+
67
+ [2017年 10月 6日 金曜日 13:38:16 DST] url='https://acme-v01.api.letsencrypt.org/acme/new-authz'
68
+
69
+ [2017年 10月 6日 金曜日 13:38:16 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header '
70
+
71
+ [2017年 10月 6日 金曜日 13:38:18 DST] _ret='0'
72
+
73
+ [2017年 10月 6日 金曜日 13:38:18 DST] code='201'
74
+
75
+ [2017年 10月 6日 金曜日 13:38:18 DST] The new-authz request is ok.
76
+
77
+ [2017年 10月 6日 金曜日 13:38:19 DST] entry='"type":"http-01","status":"pending","uri":"https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473","token":"gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE"'
78
+
79
+ [2017年 10月 6日 金曜日 13:38:19 DST] token='gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE'
80
+
81
+ [2017年 10月 6日 金曜日 13:38:19 DST] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
82
+
83
+ [2017年 10月 6日 金曜日 13:38:19 DST] keyauthorization='gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc'
84
+
85
+ [2017年 10月 6日 金曜日 13:38:19 DST] dvlist='my#gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc#https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473#http-01#/httpdocs'
86
+
87
+ [2017年 10月 6日 金曜日 13:38:19 DST] vlist='my#gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc#https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473#http-01#/httpdocs,'
88
+
89
+ [2017年 10月 6日 金曜日 13:38:19 DST] ok, let's start to verify
90
+
91
+ [2017年 10月 6日 金曜日 13:38:20 DST] Verifying:my
92
+
93
+ [2017年 10月 6日 金曜日 13:38:20 DST] d='my'
94
+
95
+ [2017年 10月 6日 金曜日 13:38:20 DST] keyauthorization='gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc'
96
+
97
+ [2017年 10月 6日 金曜日 13:38:20 DST] uri='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
98
+
99
+ [2017年 10月 6日 金曜日 13:38:20 DST] _currentRoot='/httpdocs'
100
+
101
+ [2017年 10月 6日 金曜日 13:38:20 DST] wellknown_path='/httpdocs/.well-known/acme-challenge'
102
+
103
+ [2017年 10月 6日 金曜日 13:38:20 DST] writing token:gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE to /httpdocs/.well-known/acme-challenge/gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE
104
+
105
+ [2017年 10月 6日 金曜日 13:38:20 DST] Changing owner/group of .well-known to root:root
106
+
107
+ [2017年 10月 6日 金曜日 13:38:20 DST] url='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
108
+
109
+ [2017年 10月 6日 金曜日 13:38:20 DST] payload='{"resource": "challenge", "keyAuthorization": "gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc"}'
110
+
111
+ [2017年 10月 6日 金曜日 13:38:21 DST] POST
112
+
113
+ [2017年 10月 6日 金曜日 13:38:21 DST] url='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
114
+
115
+ [2017年 10月 6日 金曜日 13:38:21 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header '
116
+
117
+ [2017年 10月 6日 金曜日 13:38:22 DST] _ret='0'
118
+
119
+ [2017年 10月 6日 金曜日 13:38:22 DST] code='202'
120
+
121
+ [2017年 10月 6日 金曜日 13:38:22 DST] sleep 2 secs to verify
122
+
123
+ [2017年 10月 6日 金曜日 13:38:25 DST] checking
124
+
125
+ [2017年 10月 6日 金曜日 13:38:25 DST] GET
126
+
127
+ [2017年 10月 6日 金曜日 13:38:25 DST] url='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
128
+
129
+ [2017年 10月 6日 金曜日 13:38:25 DST] timeout
130
+
131
+ [2017年 10月 6日 金曜日 13:38:25 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header '
132
+
133
+ [2017年 10月 6日 金曜日 13:38:25 DST] ret='0'
134
+
135
+ [2017年 10月 6日 金曜日 13:38:26 DST] my:Verify error:Invalid response from http://my/.well-known/acme-challenge/gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE:
136
+
137
+ [2017年 10月 6日 金曜日 13:38:26 DST] Debug: get token url.
138
+
139
+ [2017年 10月 6日 金曜日 13:38:26 DST] GET
140
+
141
+ [2017年 10月 6日 金曜日 13:38:26 DST] url='http://my/.well-known/acme-challenge/gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE'
142
+
143
+ [2017年 10月 6日 金曜日 13:38:26 DST] timeout='1'
144
+
145
+ [2017年 10月 6日 金曜日 13:38:26 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header --connect-timeout 1'
146
+
147
+ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
148
+
149
+ <html><head>
150
+
151
+ <title>404 Not Found</title>
152
+
153
+ </head><body>
154
+
155
+ <h1>Not Found</h1>
156
+
157
+ <p>The requested URL /.well-known/acme-challenge/gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE was not found on this server.</p>
158
+
159
+ <hr>
160
+
161
+ <address>Apache Server at my Port 80</address>
162
+
163
+ </body></html>
164
+
165
+ [2017年 10月 6日 金曜日 13:38:27 DST] ret='0'
166
+
167
+ [2017年 10月 6日 金曜日 13:38:27 DST] Debugging, skip removing: /httpdocs/.well-known/acme-challenge/gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE
168
+
169
+ [2017年 10月 6日 金曜日 13:38:27 DST] pid
170
+
171
+ [2017年 10月 6日 金曜日 13:38:27 DST] No need to restore nginx, skip.
172
+
173
+ [2017年 10月 6日 金曜日 13:38:27 DST] _clearupdns
174
+
175
+ [2017年 10月 6日 金曜日 13:38:27 DST] skip dns.
176
+
177
+ [2017年 10月 6日 金曜日 13:38:27 DST] _on_issue_err
178
+
179
+ [2017年 10月 6日 金曜日 13:38:27 DST] Please add '--debug' or '--log' to check more details.
180
+
181
+ [2017年 10月 6日 金曜日 13:38:27 DST] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
182
+
183
+ [2017年 10月 6日 金曜日 13:38:27 DST] url='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
184
+
185
+ [2017年 10月 6日 金曜日 13:38:27 DST] payload='{"resource": "challenge", "keyAuthorization": "gHdiFB0Vla0rBJqxZdu23_cV5GU6MyxVXCVNsQA7fuE.YYJDauP9fxZ7aYxEQlSfVna-U60PIm2oQNznLof7Ozc"}'
186
+
187
+ [2017年 10月 6日 金曜日 13:38:28 DST] POST
188
+
189
+ [2017年 10月 6日 金曜日 13:38:28 DST] url='https://acme-v01.api.letsencrypt.org/acme/challenge/kvz2WXktlGlpTAd3NcBvLORbrfnCQ9MolLze2yqISHY/2140608473'
190
+
191
+ [2017年 10月 6日 金曜日 13:38:28 DST] _CURL='curl -L --silent --dump-header /home/centos5/.acme.sh/http.header '
192
+
193
+ [2017年 10月 6日 金曜日 13:38:29 DST] _ret='0'
194
+
195
+ [2017年 10月 6日 金曜日 13:38:30 DST] code='400'
196
+
197
+ [2017年 10月 6日 金曜日 13:38:30 DST] socat doesn't exists.
198
+
199
+ [2017年 10月 6日 金曜日 13:38:30 DST] Diagnosis versions:
200
+
201
+ openssl:openssl
202
+
203
+ OpenSSL 1.0.1f 6 Jan 2014
204
+
205
+ apache:
206
+
207
+ apache doesn't exists.
208
+
209
+ nginx:
210
+
211
+ nginx doesn't exists.
212
+
213
+ socat:
18
214
 
19
215
  ```
20
216
 
21
217
 
22
218
 
23
-
24
-
25
- http://blog.ikenie3.org/letencrypt-cert-has-expired/
26
-
27
- こちらを参考に下記のようにやってもうまくいきません。
28
-
29
-
30
-
31
- ```ここに言語を入力
219
+ まだエラーが出ますね。
32
-
33
- > :/mnt/c/Users/h# certbot-auto certonly -d ikenie3.org,www.ikenie3.org,blog.ikenie3.org
220
+
34
-
35
- >
36
-
37
- > certbot-auto: コマンドが見つかりません
38
-
39
- > root@DESKTOP-71B29JS:/mnt/c/Users/h#
40
-
41
- ```
42
-
43
-
44
-
45
- となり進みません
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
- 初めてやった時は
56
-
57
- /mnt/c/Windows/System32$./certbot-auto certonly --manual
58
-
59
-
60
-
61
- このようにやったので恐らくcertbotはsystem32にありそうなのですが、
62
-
63
- 下記のよにやりしたうまくせん
221
+ 疲れたと思い、お願いたしす。
64
-
65
- ```ここに言語を入力
66
-
67
- certbot-auto: コマンドが見つかりません
68
-
69
- root@DESKTOP:/mnt/c/Windows/System32#
70
-
71
- root@DESKTOP:/mnt/c/Windows/System32# 証明書の認証方法を決める。nginxを使って認証し
72
-
73
- 証明書の認証方法を決める。nginxを使って認証し: コマンドが見つかりません
74
-
75
- root@DESKTOP:/mnt/c/Windows/System32#
76
-
77
- ```
78
-
79
-
80
-
81
-
82
-
83
- ```ここに言語を入力
84
-
85
- 下記のように、certbotを検索しても見つかりません
86
-
87
- root@DESKTOP-:/mnt/c# find -name certbot-auto
88
-
89
- find: `./$Recycle.Bin/S-1-5-18': 許可がありません
90
-
91
- find: `./2d913711599bdc7a61be0495448f': 許可がありません
92
-
93
- find: `./57037512113dd96749e22f91c91b37c2': 許可がありません
94
-
95
- find: `./c8e332811dced8af41': 許可がありません
96
-
97
- find: `./Config.Msi': 許可がありません
98
-
99
- find: `./MSOCache': 許可がありません
100
-
101
- find: `./PerfLogs': 許可がありません
102
-
103
- find: `./Program Files/WindowsApps': 許可がありません
104
-
105
- find: `./Program Files (x86)/Common Files/Adobe/Adobe PCD': 許可がありません
106
-
107
- find: `./Program Files (x86)/Common Files/Adobe/caps': 許可がありません
108
-
109
- find: `./Program Files (x86)/Google/CrashReports': 許可がありません
110
-
111
- find: `./Program Files (x86)/Secunia/PSI/SUA': 許可がありません
112
-
113
- find: `./ProgramData/Adobe/Adobe PDF/Extras': 許可がありません
114
-
115
- find: `./ProgramData/Adobe/Adobe PDF/Settings': 許可がありません
116
-
117
- find: `./ProgramData/Microsoft/Crypto/DSS/MachineKeys': 許可がありません
118
-
119
- find: `./ProgramData/Microsoft/Crypto/Keys': 許可がありません
120
-
121
- find: `./ProgramData/Microsoft/Crypto/PCPKSP/WindowsAIK': 許可がありません
122
-
123
- find: `./ProgramData/Microsoft/Crypto/RSA/MachineKeys': 許可がありません
124
-
125
- find: `./ProgramData/Microsoft/DataMart/PaidWiFi': 許可がありません
126
-
127
- find: `./ProgramData/Microsoft/Diagnosis': 許可がありません
128
-
129
- find: `./ProgramData/Microsoft/DRM/Server': 許可がありません
130
-
131
- find: `./ProgramData/Microsoft/Network/Downloader': 許可がありません
132
-
133
- find: `./ProgramData/Microsoft/Search/Data': 許可がありません
134
-
135
- find: `./ProgramData/Microsoft/SmsRouter': 許可がありません
136
-
137
- find: `./ProgramData/Microsoft/Windows/AppRepository': 許可がありません
138
-
139
- find: `./ProgramData/Microsoft/Windows/ClipSVC': 許可がありません
140
-
141
- find: `./ProgramData/Microsoft/Windows/LfSvc': 許可がありません
142
-
143
- find: `./ProgramData/Microsoft/Windows/PackagedEventProviders': 許可がありません
144
-
145
- find: `./ProgramData/Microsoft/Windows/Power Efficiency Diagnostics': 許可がありません
146
-
147
- find: `./ProgramData/Microsoft/Windows/SystemData': 許可がありません
148
-
149
- find: `./ProgramData/Microsoft/Windows/WER/ReportArchive': 許可がありません
150
-
151
- find: `./ProgramData/Microsoft/Windows/WER/ReportQueue': 許可がありません
152
-
153
- find: `./ProgramData/Microsoft/Windows/wfp': 許可がありません
154
-
155
- find: `./ProgramData/Microsoft/Windows Defender/Clean Store': 許可がありません
156
-
157
- find: `./ProgramData/Microsoft/Windows Defender/Features': 許可がありません
158
-
159
- find: `./ProgramData/Microsoft/Windows Defender/LocalCopy': 許可がありません
160
-
161
- find: `./ProgramData/Microsoft/Windows Defender/Network Inspection System': 許可がありません
162
-
163
- find: `./ProgramData/Microsoft/Windows Defender/Quarantine': 許可がありません
164
-
165
- find: `./ProgramData/Microsoft/Windows Defender/Scans': 許可がありません
166
-
167
- find: `./ProgramData/Microsoft/Windows Defender/Support': 許可がありません
168
-
169
- find: `./ProgramData/Microsoft/Windows NT/MSFax': 許可がありません
170
-
171
- find: `./ProgramData/Microsoft/Windows Security Health': 許可がありません
172
-
173
- find: `./ProgramData/Microsoft/WinMSIPC/Server': 許可がありません
174
-
175
- find: `./ProgramData/Microsoft/WwanSvc/DMProfiles': 許可がありません
176
-
177
- ```

1

わかりやすく修正

2017/10/06 05:07

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -24,19 +24,21 @@
24
24
 
25
25
  http://blog.ikenie3.org/letencrypt-cert-has-expired/
26
26
 
27
+ こちらを参考に下記のようにやってもうまくいきません。
27
28
 
28
29
 
29
30
 
31
+ ```ここに言語を入力
30
32
 
33
+ > :/mnt/c/Users/h# certbot-auto certonly -d ikenie3.org,www.ikenie3.org,blog.ikenie3.org
31
34
 
35
+ >
32
36
 
33
- :/mnt/c/Users/h# certbot-auto certonly -d ikenie3.org,www.ikenie3.org,blog.ikenie3.org
37
+ > certbot-auto: コマンドが見つかりません
34
38
 
39
+ > root@DESKTOP-71B29JS:/mnt/c/Users/h#
35
40
 
36
-
37
- certbot-auto: コマンドが見つかりません
41
+ ```
38
-
39
- root@DESKTOP-71B29JS:/mnt/c/Users/h#
40
42
 
41
43
 
42
44
 
@@ -56,29 +58,11 @@
56
58
 
57
59
 
58
60
 
59
- このようにやったので恐らくsystem32にありそうなのですが、どうやってフルパスで移動するのでしょうか?
61
+ このようにやったので恐らくcertbotはsystem32にありそうなのですが、
60
-
61
-
62
-
63
- root@DESKTOP:/mnt/c# cd /mnt/c/Windows/System32
64
-
65
- root@DESKTOP:/mnt/c/Windows/System32# ./certbot-auto certonly --manual
66
-
67
- Upgrading certbot-auto 0.15.0 to 0.18.2...
68
-
69
- Replacing certbot-auto...
70
-
71
- mv: デバイス間移動失敗: `/tmp/tmp.pDhgsaVRL8/letsencrypt-auto.permission-clone' から `./certbot-auto' 。移動先を削除できません: 許可がありません
72
-
73
- root@DESKTOP:/mnt/c/Windows/System32# certbot-auto certonly -d ikenie3.org,www.ikenie3.org,blog.ikenie3.org
74
62
 
75
63
  下記のようにやりましたがうまくいきません
76
64
 
77
-
65
+ ```ここに言語を入力
78
-
79
-
80
-
81
-
82
66
 
83
67
  certbot-auto: コマンドが見つかりません
84
68
 
@@ -90,19 +74,15 @@
90
74
 
91
75
  root@DESKTOP:/mnt/c/Windows/System32#
92
76
 
77
+ ```
78
+
93
79
 
94
80
 
95
81
 
96
82
 
97
83
  ```ここに言語を入力
98
84
 
99
- 下記のように、検索しても見つかりません
85
+ 下記のように、certbotを検索しても見つかりません
100
-
101
- /mnt/c/Windows/System32# /usr/bin/certbot-auto renew --force-renew
102
-
103
- bash: /usr/bin/certbot-auto: そのようなファイルやディレクトリはありません
104
-
105
- root@DESKTOP-:/mnt/c/Windows/System32# cd /mnt/c
106
86
 
107
87
  root@DESKTOP-:/mnt/c# find -name certbot-auto
108
88