The project implements an HTTPS client plugin for the LambdaSwiftSprinter framework.
The plugin is based on swift-nio 2.0 and uses the third part library async-http-client
- Allow the handler to make an HTTPS call. Swift's implementation relies on
libgnutlswhich expects to find its root certificates in
/etc/ssl/certs/ca-certificates.crtdirectory. That directory is absent on Amazon Linux. Currently calls to HTTPS endpoint will fail with an error :
error setting certificate verify locations:\n CAfile: /etc/ssl/certs/ca-certificates.crt\n CApath: /etc/ssl/certsThis library fix this issue by using
To know more have a look to this example
Contributions are more than welcome! Follow this guide to contribute.