You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You cannot directly reference a file from S3. This is not a limitation of the MQTT client though, it's something the PHP SSL context requires for the cafile and capath options. My suggestion is to download the file into a temporary location and reference that instead.
However, depending on the frequency of these certificate downloads, I see a performance bottleneck. S3 is not built for millisecond latency but for large volumes of files. I'm not familiar with Vapor, but you have the chance to somehow inject the certificate using some kind of configuration or environment variable, I strongly suggest you do that instead.
Hey,
We want to store the certificate files on a different disk (S3) because we are suing Vapor which doesnt have local storage.
I wasnt able to find a way to do this.
Did I miss a way to handle this ?
Thanks!
The text was updated successfully, but these errors were encountered: