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

質問編集履歴

1

curlの記述変更

2019/12/29 06:07

投稿

garta
garta

スコア15

title CHANGED
File without changes
body CHANGED
@@ -134,22 +134,21 @@
134
134
  tcp6 0 0 :::22 :::* LISTEN 3271/sshd
135
135
 
136
136
  ###curl
137
- EC2からsudo curl -v https://ドメイン
137
+ EC2からsudo curl -v https://ドメイン
138
+ * Rebuilt URL to: https://myapp.com/
139
+ * Trying 1.2.3.4...(EIPではない)
140
+ * TCP_NODELAY set
141
+ * Connected to myapp.com (1.2.3.4) port 443 (#0)
142
+
138
143
  成功
139
144
 
145
+
140
146
  Macからsudo curl -v https://ドメイン
141
- * Rebuilt URL to: https://ドメイン/
147
+ * Rebuilt URL to: https://myapp.com/
142
- * Trying (AWSのEIP...
148
+ * Trying (インスタンスのEIP)...
143
149
  * TCP_NODELAY set
150
+ * Connection failed
144
- * Connected to ドメイン.com (AWSのEIP) port 443 (#0)
151
+ * connect to インスタンスのEIP port 443 failed: Connection refused
145
- * ALPN, offering h2
146
- * ALPN, offering http/1.1
147
- * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
148
- * successfully set certificate verify locations:
152
+ * Failed to connect to myapp.com port 443: Connection refused
149
- * CAfile: /etc/ssl/cert.pem
150
- CApath: none
151
- * TLSv1.2 (OUT), TLS handshake, Client hello (1):
152
- * error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
153
- * stopped the pause stream!
154
153
  * Closing connection 0
155
- curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
154
+ curl: (7) Failed to connect to myapp.com port 443: Connection refused