diff --git a/LibGit2Sharp.Tests/SmartSubtransportFixture.cs b/LibGit2Sharp.Tests/SmartSubtransportFixture.cs
index d55785baa..8e6aef5c6 100644
--- a/LibGit2Sharp.Tests/SmartSubtransportFixture.cs
+++ b/LibGit2Sharp.Tests/SmartSubtransportFixture.cs
@@ -19,8 +19,8 @@ public class SmartSubtransportFixture : BaseFixture
(sender, certificate, chain, errors) => { return true; };
[Theory]
- [InlineData("http", "http://github.com/libgit2/TestGitRepository")]
- [InlineData("https", "https://github.com/libgit2/TestGitRepository")]
+ [InlineData("http", "http://bitbucket.org/edwardthomson/TestGitRepository/")]
+ [InlineData("https", "https://bitbucket.org/edwardthomson/TestGitRepository/")]
public void CustomSmartSubtransportTest(string scheme, string url)
{
string remoteName = "testRemote";
@@ -259,6 +259,8 @@ public override int Write(Stream dataStream, long length)
private static HttpWebRequest CreateWebRequest(string endpointUrl, bool isPost, string contentType)
{
+ ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
+
HttpWebRequest webRequest = (HttpWebRequest)HttpWebRequest.Create(endpointUrl);
webRequest.UserAgent = "git/1.0 (libgit2 custom transport)";
webRequest.ServicePoint.Expect100Continue = false;
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj
index 34fb0d630..0037b70e0 100644
--- a/LibGit2Sharp/LibGit2Sharp.csproj
+++ b/LibGit2Sharp/LibGit2Sharp.csproj
@@ -1,6 +1,6 @@
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: