~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/ca_bundle.py

  • Committer: John Arbash Meinel
  • Author(s): Mark Hammond
  • Date: 2008-09-09 17:02:21 UTC
  • mto: This revision was merged to the branch mainline in revision 3697.
  • Revision ID: john@arbash-meinel.com-20080909170221-svim3jw2mrz0amp3
An updated transparent icon for bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
"""Auto-detect of CA bundle for SSL connections"""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
import os
22
20
import sys
23
21
from bzrlib.trace import mutter
38
36
    # from "Details on Server SSL Certificates"
39
37
    # http://curl.haxx.se/docs/sslcerts.html
40
38
    #
41
 
    # 4. If you're using the curl command line tool, you can specify your own
42
 
    #    CA cert path by setting the environment variable CURL_CA_BUNDLE to the
43
 
    #    path of your choice.
 
39
    # 4. If you're using the curl command line tool, you can specify your own CA
 
40
    #    cert path by setting the environment variable CURL_CA_BUNDLE to the path
 
41
    #    of your choice.
44
42
    #
45
 
    #    If you're using the curl command line tool on Windows, curl will
46
 
    #    search for a CA cert file named "curl-ca-bundle.crt" in these
47
 
    #    directories and in this order:
 
43
    #    If you're using the curl command line tool on Windows, curl will search
 
44
    #    for a CA cert file named "curl-ca-bundle.crt" in these directories and in
 
45
    #    this order:
48
46
    #      1. application's directory
49
47
    #      2. current working directory
50
48
    #      3. Windows System directory (e.g. C:\windows\system32)