It always get deleted when deployed to Vapor as the storage folder is purged.
'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA') ? storage_path() . '/ssl/' . env('MYSQL_ATTR_SSL_CA') : null, ]) : ,
I don't want to directly reference it to an s3/cdn asset URL as that will be too slow.
Any tips? PS: It works on local just fine, just not on Vapor.