You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geier is a good guesser :)
I've packaged vdirsyncer for pkgsrc, see http://pkgsrc.se/time/py-vdirsyncer.
I've just updated it to 0.2.4, thanks for the quick fixes & release!
using the same certificate file that's configured for vdirsyncer:
[general]
# A folder where vdirsyncer can store some metadata about each pair.
status_path = ~/.vdirsyncer/status/
verify = /home/wiz/.vdirsyncer/cacert.crt
...
I get
Verify return code: 0 (ok)
so openssl seems to be happy. Any ideas how to debug this?
I don't know which file is required for requests, and I know that this could use some documentation on my part. Seems like a PEM file is required, but I didn't try it.
grepping the source code it seems you use requests, requests-toolbelt, and lxml. I've added these as dependencies.
I've tried concatenating all three certificates, no change.
"openssl s_client" is still happy when I pass it that file as input.
Okay, I figured out how to do the certificate stuff:
This is the certificate info in firefox for https://unterwaditzer.net (click on lock-icon, "more information", "view certificate"). You need to export each certificate shown in the tree manually, and then concatenate the exported certs into one file.
Activity
geier commentedon Aug 18, 2014
I have a feeling that a pkgsrc port is coming... :)
Quoting Markus Unterwaditzer (2014-08-18 12:35:36)
untitaker commentedon Aug 18, 2014
@geier I looked up pkgsrc just now... what do you mean? Is somebody going to package vdirsyncer for another distro?
untitaker commentedon Aug 18, 2014
I just released a new version (0.2.4). Wanted to do that anyway because there's a fix for Radicale in there too.
geier commentedon Aug 18, 2014
@0-wiz-0 does the pkgsrc ports for pycarddav and vdirsyncer, so I
suspect he is making a port for vdirsyncer as well
Quoting Markus Unterwaditzer (2014-08-18 12:44:29)
untitaker commentedon Aug 18, 2014
Got it, great!
0-wiz-0 commentedon Aug 18, 2014
geier is a good guesser :)
I've packaged vdirsyncer for pkgsrc, see http://pkgsrc.se/time/py-vdirsyncer.
I've just updated it to 0.2.4, thanks for the quick fixes & release!
untitaker commentedon Aug 18, 2014
You're welcome!
Some questions though:
0-wiz-0 commentedon Aug 18, 2014
Yes, the webpage is kept up-to-date by a cronjob, and I don't know when it runs. The package is at 0.2.4 already, though.
Dependencies are packaged separately, and should be listed on the page. If anything's missing, definitely let me know!
I have a question for you too: On my first run of vdirsyncer, I got a long backtrace ending in:
When I do
using the same certificate file that's configured for vdirsyncer:
I get
so openssl seems to be happy. Any ideas how to debug this?
untitaker commentedon Aug 18, 2014
I don't know which file is required for requests, and I know that this could use some documentation on my part. Seems like a PEM file is required, but I didn't try it.
untitaker commentedon Aug 18, 2014
Seems like you need to concat all (or some) certs of the trustchain: https://www.digicert.com/ssl-support/pem-ssl-creation.htm
untitaker commentedon Aug 18, 2014
Ugh, it seems like this is for client-side certificates. I don't use this myself...
0-wiz-0 commentedon Aug 18, 2014
grepping the source code it seems you use requests, requests-toolbelt, and lxml. I've added these as dependencies.
I've tried concatenating all three certificates, no change.
"openssl s_client" is still happy when I pass it that file as input.
untitaker commentedon Aug 18, 2014
I read that part of the documentation wrongly. It seems like you're supposed to use a
CA_BUNDLEpath in there, but i don't know what that means.untitaker commentedon Aug 18, 2014
I also use click and icalendar.
setup.pycontains a list.untitaker commentedon Aug 18, 2014
Okay, I figured out how to do the certificate stuff:
This is the certificate info in firefox for https://unterwaditzer.net (click on lock-icon, "more information", "view certificate"). You need to export each certificate shown in the tree manually, and then concatenate the exported certs into one file.
0-wiz-0 commentedon Aug 18, 2014
Ok, I tried that. Both in Top-Down and in Bottom-Up order, but I didn't get it working.
untitaker commentedon Aug 18, 2014
Is your certificate self-signed? Maybe it's still dependent on the global CA bundle.
geier commentedon Aug 18, 2014
Do you use pycarddav with the same server? Does it work there?
Quoting Markus Unterwaditzer (2014-08-18 15:05:02)
untitaker commentedon Aug 18, 2014
Regardless of all this, the current state is not acceptable. See #99
0-wiz-0 commentedon Aug 18, 2014
I use
with pycarddav. It's a CACert-signed certificate (not self-signed).
Update to 0.2.4:
Update to 0.2.4:
Update to 0.2.4:
Update to 0.2.4: