我正在拨打 curl 电话
curl -v ... https://...
Run Code Online (Sandbox Code Playgroud)
并且详细输出包含
....
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification OK
....
* ALPN, server did not agree to a protocol
* Server auth using Basic with user 'api'
> POST /v3/pindertek.com/messages HTTP/1.1
> Host: api.mailgun.net
> Authorization: Basic sdfsdfsdfsadfsdfsdfsadfsadfsadfsdfsdfasdfsdf=
....
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
......
Run Code Online (Sandbox Code Playgroud)
我的问题是:
可以看到TLS证书验证成功。但是随后的消息“ALPN,服务器不同意协议”和“使用 Basic 和用户 'api' 的服务器身份验证”并不能激发充分的信心。
我希望它只是指在 TLS 加密协议下/内/上使用的单独层协议,但我不知道。
更详细的详细输出: …