emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling 'select' from emacs_gnutls_pull


From: Eli Zaretskii
Subject: Re: Calling 'select' from emacs_gnutls_pull
Date: Sat, 16 Feb 2013 21:30:53 +0200

> From: Ted Zlatanov <address@hidden>
> Date: Sat, 16 Feb 2013 13:00:58 -0500
> 
> EZ> Thanks.  It would be good if you (or someone else) could describe a
> EZ> simple setup for reading stuff via GnuTLS from some URL, which I could
> EZ> then try on my machine under a debugger.
> 
> Sure.  It's actually quite simple to open a SSL connection to the HTTP/S
> port (the SERVICE parameter is either a string or an integer):
> 
> #+begin_src lisp
> (open-gnutls-stream "tls" "tls-buffer" "yourserver.com" "https")
> #+end_src
> 
> If GnuTLS support is enabled, opening any SSL connection with the
> `url-*' function should do it too... it's the default transport.
> 
> You can also call `gnutls-negotiate' directly, see `gnutls.el' for the
> details.

OK.  Any suggestions for yourserver.com that I could use?

Also, would there be any problems with certificates, and if so, where
can I find a bundle?  (I'm quite ignorant about these issues, sorry.)

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]