# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- # vim: set filetype=python: # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # BadCertAndPinningServer takes as an argument a path to a directory and loads # every key and certificate in it. We want to test what happens when a # server doesn't include an intermediate that is necessary to build a # complete trust path. The easiest way to do this right now is to put # the intermediate in a different directory, so that BadCertAndPinningServer # doesn't know about it and can't send it in the TLS handshake. # Temporarily disabled. See bug 1256495. # test_certificates = ( # 'missing-intermediate.pem', # ) # # for test_certificate in test_certificates: # GeneratedTestCertificate(test_certificate)