質問編集履歴

1

curlの記述変更

2019/12/29 06:07

投稿

garta
garta

スコア15

test CHANGED
File without changes
test CHANGED
@@ -270,40 +270,38 @@
270
270
 
271
271
  ###curl
272
272
 
273
- EC2からsudo curl -v https://ドメイン
273
+ EC2からsudo curl -v https://ドメイン
274
+
275
+ * Rebuilt URL to: https://myapp.com/
276
+
277
+ * Trying 1.2.3.4...(EIPではない)
278
+
279
+ * TCP_NODELAY set
280
+
281
+ * Connected to myapp.com (1.2.3.4) port 443 (#0)
282
+
283
+
274
284
 
275
285
  成功
276
286
 
277
287
 
278
288
 
289
+
290
+
279
291
  Macからsudo curl -v https://ドメイン
280
292
 
281
- * Rebuilt URL to: https://ドメイン/
293
+ * Rebuilt URL to: https://myapp.com/
282
-
294
+
283
- * Trying (AWSのEIP...
295
+ * Trying (インスタンスのEIP)...
284
296
 
285
297
  * TCP_NODELAY set
286
298
 
299
+ * Connection failed
300
+
287
- * Connected to ドメイン.com (AWSのEIP) port 443 (#0)
301
+ * connect to インスタンスのEIP port 443 failed: Connection refused
288
-
289
- * ALPN, offering h2
302
+
290
-
291
- * ALPN, offering http/1.1
292
-
293
- * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
294
-
295
- * successfully set certificate verify locations:
303
+ * Failed to connect to myapp.com port 443: Connection refused
296
-
297
- * CAfile: /etc/ssl/cert.pem
298
-
299
- CApath: none
300
-
301
- * TLSv1.2 (OUT), TLS handshake, Client hello (1):
302
-
303
- * error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
304
-
305
- * stopped the pause stream!
306
304
 
307
305
  * Closing connection 0
308
306
 
309
- curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
307
+ curl: (7) Failed to connect to myapp.com port 443: Connection refused