Aws-sdk-php: Error executing "SendRawEmail" on "https://email.us-east-1.amazonaws.com"; AWS HTTP error: cURL error 60: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Created on 8 Oct 2019  路  1Comment  路  Source: aws/aws-sdk-php

Version of AWS SDK for PHP?

AWS SDK FOR PHP 3.112
Php 7.3.8
Configured SES on laravel, but geting the following error:

Error executing "SendRawEmail" on "https://email.us-east-1.amazonaws.com"; AWS HTTP error: cURL error 60: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

.env configuration:
MAIL_DRIVER=ses
MAIL_HOST=email-smtp.us-east-1.amazonaws.com
MAIL_PORT=25
MAIL_USERNAME=[my smtp user key]
MAIL_PASSWORD=[my smpt user pass]
MAIL_ENCRYPTION=tls

AWS_ACCESS_KEY_ID=[my IAM user key]
AWS_SECRET_ACCESS_KEY=[my IAM secret acces key]
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
Im runing it on my local enviroment on windows. Shouldn't be a problem.
Im sure it can be a misconfiguration within the env file.
-Testing from AWS console sending emails works fine.
-Created again both user and smtp credentials. Non of it worked.
-Edited configuration both in mail and services as specified in tutorial:
https://medium.com/@martin.riedweg/configure-amazon-ses-on-laravel-5-8-in-5-minutes-764c30df6399
Everything done step by step using server us-east-1

Any suggestions? Thanks

Most helpful comment

Fixed it myself.
https://www.rephp.com/curl-error-60-certificado-ssl-no-se-puede-obtener-el-certificado-de-emisor-local.html

Neded to download and install this on php extras/ssl folder and then ad its path to php.ini
Hope this helps someone

>All comments

Fixed it myself.
https://www.rephp.com/curl-error-60-certificado-ssl-no-se-puede-obtener-el-certificado-de-emisor-local.html

Neded to download and install this on php extras/ssl folder and then ad its path to php.ini
Hope this helps someone

Was this page helpful?
0 / 5 - 0 ratings