SSL请求在WSL上失败

时间:2018-10-08 12:26:13

标签: linux ubuntu ssl curl windows-subsystem-for-linux

我不能使用with open('password.csv', "r") as csvfile: reader = csv.DictReader(csvfile) database = [] #creates a list holder for the data for row in reader: database.append(dict(username=row["username"], password=row["password"])) authenticated = False while not authenticated: username = input("Enter the username: ") password = input("Enter the password: ") for row in database: userFile = row["username"] passwordFile = row["password"] if (userFile) == username and (passwordFile) == password: authenticated = True if authenticated is not True: print("Incorrect credentials") gitcurl或在WSL上执行SSL请求的任何工具。结果就是这样:

Git:

apt-get

卷曲:

$ git clone https://github.com/../some-repo.git
Cloning into 'some-repo'...
fatal: unable to access 'https://github.com/../some-repo.git/': gnutls_handshake() failed: Error in the push function

0 个答案:

没有答案