Commit 763ced62 authored by Thomas Gelf's avatar Thomas Gelf
Browse files

AwsClient: allow to specifiy a custom CA bundle

parent bcb04ae9
......@@ -43,9 +43,20 @@ In case your server needs to use a proxy when connection to the AWS web service
please create `/etc/icingaweb2/modules/aws/config.ini` with a `network` section
like shown in this example:
proxy = ""
You could also pass proxy credentials in the form `user:pass@host:port`.
SSL issues
In case you need to provide a specific SSL CA bundle, once again please create
a `[network]` section in your `config.ini`:
ssl_ca = "/etc/ssl/certs/ca.pem"
......@@ -93,6 +93,10 @@ class AwsClient
if ($ca = $config->get('network', 'ssl_ca')) {
$params['ssl.certificate_authority'] = $ca;
$this->client = Aws::factory($params);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment