Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

393
Views
Error al enviar archivos al servidor aws s3 en Laravel

Estoy tratando de cargar un archivo en el servidor Amazon s3, seguí la documentación de Laravel 5.4 que habla sobre FileSystems. Pero devuelve el error:

 Error executing "ListObjects" on "https://s3.amazonaws.com/comercio-urbano?prefix=myfile.txt%2F&max-keys=1&encoding-type=url"; AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Rutas

 Route::get('/', function () { return view('welcome'); }); Auth::routes(); Route::get('/home', 'HomeController@index'); Route::get('/test', 'TesteController@teste');

Controlador

 's3' => [ 'driver' => 's3', 'key' => env('AWS_KEY'), 'secret' => env('AWS_SECRET'), 'region' => env('AWS_REGION'), 'bucket' => env('AWS_BUCKET'), ],

.ENV

 AWS_KEY=BKBAJKD62Y324W4T7QUA ( AWS_SECRET=tbG3prt8vrXp5leUp5S65xbak08ZrLBZPNdO+fbC AWS_REGION=us-east-1 AWS_BUCKET=comercio-urbano

¿Cualquier sugerencia?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Si está utilizando XAMPP en Windows, debe descargar el certificado y agregarlo a php.ini :

 curl.cainfo = "[path_to_certificate]\cacert.pem"

Luego reinicie XAMPP (o Apache).

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!