caml-list - the Caml user's mailing list
 help / Atom feed
From: Adrien Nader <adrien@notk.org>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: Christophe TROESTLER <Christophe.TROESTLER@umons.ac.be>, Gerd Stolpmann <info@gerd-stolpmann.de>, OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] https and Ocamlnet
Date: Thu, 26 Sep 2019 16:39:03 +0200
Message-ID: <20190926143903.GA32103@notk.org> (raw)
In-Reply-To: <87d0fnlf5i.fsf@polytechnique.org>

Hello,

On Thu, Sep 26, 2019, Alan Schmitt wrote:
> Hello Christophe,
> 
> On 2019-09-26 08:27, Christophe TROESTLER
> <Christophe.TROESTLER@umons.ac.be> writes:
> 
> >Have you tried “cohttp” with “tls” to perform the same task?
> >
> >If it fails, I can remove the HTTPS redirection for ocaml.org
> >while this is being fixed.
> 
> I just tried with cohttp. The example to access the reddit page
> works,
> but replacing the url with https://ocaml.org/feed.xml fails:
> 
> Fatal error: exception Tls_lwt.Tls_alert(6)

You can test the website and your local libraries with gnutls-cli: just
run 'gnutls-cli ocaml.org' (the binary is sometimes in a dedicated
package).
There's also something available in the openssl binary but the
command-line is not as friendly. Lastly, there are websites to test for
TLS configurations.

-- 
Adrien

  parent reply index

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-25 13:49 Alan Schmitt
2019-09-25 14:52 ` Christophe TROESTLER
2019-09-25 15:47 ` Gerd Stolpmann
2019-09-26  6:20   ` Alan Schmitt
2019-09-26  6:27     ` Christophe TROESTLER
2019-09-26  6:56       ` Alan Schmitt
2019-09-26 13:42         ` Simon Cruanes
2019-09-26 15:45           ` Gerd Stolpmann
2019-09-27  6:32           ` Alan Schmitt
2019-09-27 13:54             ` Simon Cruanes
2019-09-26 14:39         ` Adrien Nader [this message]
2019-09-25 17:38 ` Oliver Bandel

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190926143903.GA32103@notk.org \
    --to=adrien@notk.org \
    --cc=Christophe.TROESTLER@umons.ac.be \
    --cc=alan.schmitt@polytechnique.org \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox