Skip to content

Commit

Permalink
Fixing the SSL warning for libcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmaestro committed Feb 13, 2011
1 parent 2ff9940 commit 59de970
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kraftwerk/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
from libcloud.drivers import ec2, rackspace, linode
# Add as you test support for more providers

# http://wiki.apache.org/incubator/LibcloudSSL
CA_CERTS_PATH = '/etc/ssl/certs/' # Debian ca-certificates package CA_CERTS path
if os.path.exists(CA_CERTS_PATH):
import libcloud.security
libcloud.security.VERIFY_SSL_CERT = True
libcloud.security.CA_CERTS_PATH.append(CA_CERTS_PATH)

import kraftwerk
from kraftwerk.project import Project
from kraftwerk.node import Node
Expand Down

0 comments on commit 59de970

Please sign in to comment.