Hi!
I am trying to use the seaf-cli on ubuntu 16.04. I installed it following this instruction: https://github.com/haiwen/seafile-user-manual/blob/master/en/desktop/install-on-linux.md
(BTW: How to find out which version is installed?)
That worked. Then I tried to list libraries from the server. The server is using a self signed certifiacte and the client on windows 10 works with it but seaf-cli returns the following error:
Traceback (most recent call last):
File "/usr/bin/seaf-cli", line 832, in <module>
main()
File "/usr/bin/seaf-cli", line 828, in main
args.func(args)
File "/usr/bin/seaf-cli", line 355, in seaf_list_remote
token = get_token(url, username, password, conf_dir)
File "/usr/bin/seaf-cli", line 225, in get_token
token_json = urlopen("%s/api2/auth-token/" % url, data=data)
File "/usr/bin/seaf-cli", line 198, in urlopen
resp = urllib2.urlopen(req)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
I tried:
seaf-cli config -k disable_verify_certificate -v true
But that did not change the error message from seaf-cli.
Best regards,
Pfeffer.