Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jannevuori's avatar

Amazon RDS connection fails after SSL/TLS Certificate update

A very old and (ofc) unupdated Laravel application running on Vapor / AWS ended in 500 errors. AWS had been harrassing me for months about the SSL certificate update on RDS "Update Your Amazon RDS and Amazon Aurora SSL/TLS Certificates by August 22, 2024". Had been updating the certifcates without problems within my active Vapor applications which have almost up to date Laravels as well. Now I did the updatefor this project and it stopped working.

Vapor logs says that: "PDO::__construct(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed"

This is a Laravel 8.4 application running on php 7.4 so it has been this year since these environments has not been able to deploy again.

I am assuming that redeployment could help with this issue but now it seems like that the redeployment includes the update of the application and the dependencies.

Or is there any other way to handle this? One day I'll do the update for this project but I'll have little or no time today and this wee for this and there are bunch of users who would like to use the application.

0 likes
1 reply
jannevuori's avatar
jannevuori
OP
Best Answer
Level 10

It did not need an update to the Laravel app after all. Laravel 8 seems to be working with at PHP 8.3

Please or to participate in this conversation.