From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seb Frank Subject: org-caldav: problems connecting to owndrive Date: Wed, 7 May 2014 09:43:23 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01537e1859275604f8cf8cbd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi285-0001h2-W7 for emacs-orgmode@gnu.org; Wed, 07 May 2014 09:43:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi284-0003BO-Qg for emacs-orgmode@gnu.org; Wed, 07 May 2014 09:43:25 -0400 Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:44545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi284-0003BG-L5 for emacs-orgmode@gnu.org; Wed, 07 May 2014 09:43:24 -0400 Received: by mail-ie0-f175.google.com with SMTP id rl12so1001547iec.34 for ; Wed, 07 May 2014 06:43:23 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --089e01537e1859275604f8cf8cbd Content-Type: text/plain; charset=UTF-8 Hi there, I've been trying to setup org-caldav to sync to my owndrive calendar. Setup is #+begin_src emacs-lisp (setq org-caldav-url " https://my.owndrive.com/remote.php/caldav/calendars/myusername") (setq org-caldav-calendar-id "myid") (setq org-caldav-inbox "~/org/test.org") #+end_src When I try org-caldav-sync, it fails with: Contacting host: my.owndrive.com:443 gnutls.c: [0] (Emacs) fatal error: Public key signature verification has failed. gnutls.el: (err=[-89] Public key signature verification has failed.) boot: (:priority NORMAL :hostname my.owndrive.com :loglevel 0 :min-prime-bits 256 :trustfiles nil :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil) edebug-signal: GnuTLS error: #, -89 Testing this with gnutls on the command line confirms the problem: % gnutls-cli -V -p 443 my.owndrive.com ... - Status: The certificate is NOT trusted. The signature in the certificate is invalid. *** Verifying server certificate failed... *** Fatal error: Error in the certificate. *** Handshake has failed GnuTLS error: Error in the certificate. Does anyone know if there is a way to tell org-caldav or url-dav to use an untrusted certificate? Thanks, Seb --089e01537e1859275604f8cf8cbd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi there,

I've been tr= ying to setup org-caldav to sync to my owndrive calendar.

Setu= p is

#+begin_src emacs-lisp
(setq org-caldav-url "https://my.owndrive.co= m/remote.php/caldav/calendars/myusername")
(setq org-caldav-cal= endar-id "myid")
(setq org-caldav-inbox "~/org/test.org= ")
#+end_src

When I try org-caldav-sync, it fails with= :

Contacting host: my.owndriv= e.com:443
gnutls.c: [0] (Emacs) fatal error: Public key signature verification has fa= iled.
gnutls.el: (err=3D[-89] Public key signature verification has fail= ed.) boot: (:priority NORMAL :hostname m= y.owndrive.com :loglevel 0 :min-prime-bits 256 :trustfiles nil :crlfile= s nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
edebug-signal: GnuTLS error: #<process my.owndrive.com>, -89

Testing this with gnutls on the= command line confirms the problem:
% gnutls-cli -V -p 443 my.owndrive.com
...
- Status: The certificate is NOT trusted. The signature in the certi= ficate is invalid.
*** Verifying server certificate failed...
*** Fat= al error: Error in the certificate.
*** Handshake has failed
GnuTLS e= rror: Error in the certificate.

Does anyone know if there is a way to tell org-caldav or url-dav = to use an untrusted certificate?

Thanks,
=C2=A0 Seb
--089e01537e1859275604f8cf8cbd--