summaryrefslogtreecommitdiffstats
path: root/contrib/uuid
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2017-10-17 12:50:48 +0530
committerAmar Tumballi <amarts@redhat.com>2017-10-31 06:46:56 +0000
commit4216869c724cf19c12d63c0580de88e9427e6467 (patch)
tree54d7cd2e7654f4521d10dd887cbce7906cb42510 /contrib/uuid
parent30e0b86aae00430823f2523c6efa3c4ebbf0a478 (diff)
eventsapi: HTTPS support for Webhooks
First it tries to call URL with verify=True without specifying the cert path, it succeeds if a webhook is HTTP or HTTPS with CA trusted certificates(for example https://github..). If above call fails with SSL error then it tries to get the server certificate and calls URL again. If call fails with SSL error even after using the certificate, then verification will be disabled and logged in the log file. All other errors will be catched and logged as usual. BUG: 1506903 Change-Id: I86a3390ed48b75dffdc7848022af23a1e1d7f076 Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'contrib/uuid')
0 files changed, 0 insertions, 0 deletions