Mailing list for all users of the OCaml language and system.
 help / color / mirror / 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	[thread overview]
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	other threads:[~2019-09-26 14:39 UTC|newest]

Thread overview: 13+ 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:41         ` Simon Cruanes
2019-09-26 15:44           ` Gerd Stolpmann
2019-09-27  6:31           ` Alan Schmitt
2019-09-27 13:53             ` Simon Cruanes
2019-09-26 14:39         ` Adrien Nader [this message]
2019-09-25 17:38 ` Oliver Bandel
2019-12-29 13:42 ` Oliver Bandel

Reply instructions:

You may reply publicly 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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox