$ bash aws_ses.sh
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 52.94.210.189...
* TCP_NODELAY set
* Connected to email.us-west-2.amazonaws.com (52.94.210.189) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-SHA
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: CN=email.us-west-2.amazonaws.com
* start date: Dec 3 00:00:00 2018 GMT
* expire date: Nov 29 12:00:00 2019 GMT
* subjectAltName: host "email.us-west-2.amazonaws.com" matched cert's "email.us-west-2.amazonaws.com"
* issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
* SSL certificate verify ok.
> POST / HTTP/1.1
> Host: email.us-west-2.amazonaws.com
> User-Agent: curl/7.58.0
> Accept: */*
> Date: Fri, 10 May 2019 11:15:09 +0900
> X-Amzn-Authorization: AWS3-HTTPS AWSAccessKeyId=AKIAJPUIYSDYO2P3MJ2Q, Algorithm=HmacSHA256, Signature=7slMugXvpfnAdRRk4ozfAx/8TtfDVaqJ37HyRJLFNQc=
> Content-Length: 244
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 244 out of 244 bytes
< HTTP/1.1 200 OK
< x-amzn-RequestId: 7090526a-72c9-11e9-a469-1966e49a6e5d
< Content-Type: text/xml
< Content-Length: 326
< Date: Fri, 10 May 2019 02:15:10 GMT
<
<SendEmailResponse xmlns="http://ses.amazonaws.com/doc/2010-12-01/">
<SendEmailResult>
<MessageId>0102018a7d25er65-49236579-a3h5-4k89-bmeg-1968195c35d7-000000</MessageId>
</SendEmailResult>
<ResponseMetadata>
<RequestId>7360571b-76f3-21h8-a421-1956s48x2n0d</RequestId>
</ResponseMetadata>
</SendEmailResponse>
* Connection #0 to host email.us-west-2.amazonaws.com left intact
コメントを残す