vdirsyncer icon indicating copy to clipboard operation
vdirsyncer copied to clipboard

Invalid certificate issue

Open Billos opened this issue 6 months ago • 0 comments

Hello,

I'm trying to get a public ics, but unfortunately the remote certificate is incorrect. It works for the domain fixture.es, but not for ics.fixture.es,

I've tried retrieveing the SHA256 fingerprint :

echo -n | openssl s_client -connect ics.fixture.es:443 2>/dev/null | openssl x509 -noout -fingerprint -sha256                                                                                                    130 ↵   
SHA256 Fingerprint=99:54:33:73:5C:DD:82:3D:D5:47:31:4E:8C:D5:33:05:A2:A0:FF:86:4F:53:0D:C8:5B:34:C6:E3:93:4C:7F:64

And then setting the following configuration :

[storage edf_public]
type = "http"
url = "https://ics.fixture.es/v2/fr.ics"
verify_fingerprint = "99:54:33:73:5C:DD:82:3D:D5:47:31:4E:8C:D5:33:05:A2:A0:FF:86:4F:53:0D:C8:5B:34:C6:E3:93:4C:7F:64"

But I still have the following error

58f3f993f01a:/vdirsyncer/status$ vdirsyncer sync --force-delete edf
Syncing edf
error: Unknown error occurred for edf: (b'\x99T3s\\\xdd\x82=\xd5G1N\x8c\xd53\x05\xa2\xa0\xff\x86OS\r\xc8[4\xc6\xe3\x93L\x7fd', b"\xf93\xb3\x06>\x9c\xef' U\xa6U`\xca\x04:b\xe2\xd1\xee\x04\xf3\x06\xd5\x9f\x83\xab\x9e+c\x1e\x1d", '206.189.241.187', 443)
error: Use `-vdebug` to see the full traceback.

Am I missing something from the doc ?

Billos avatar Jun 04 '25 09:06 Billos