From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/16039 Path: news.gmane.org!.POSTED!not-for-mail From: vbd Newsgroups: gmane.text.pandoc Subject: Re: HTML to markdown and probably certificate issues Date: Wed, 16 Nov 2016 03:09:11 -0800 (PST) Message-ID: <02156751-3277-4b16-b70d-2a9ad9e394ae@googlegroups.com> References: <20161115134841.GD4589@Administrateurs-iMac-3.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4152_1007788330.1479294552041" X-Trace: blaine.gmane.org 1479294570 5482 195.159.176.226 (16 Nov 2016 11:09:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2016 11:09:30 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCCKTEEOGIINT7FQYECRUBG3GN6ZW-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 16 12:09:25 2016 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f60.google.com ([209.85.218.60]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6y5W-0007bm-8F for gtp-pandoc-discuss@m.gmane.org; Wed, 16 Nov 2016 12:09:10 +0100 Original-Received: by mail-oi0-f60.google.com with SMTP id 128sf20273745oih.0 for ; Wed, 16 Nov 2016 03:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=7kSnm8vhZmeGP3+BknBPYFh2Ta3ZhORH79w53EaUGHk=; b=c2rbjim+DBYw4RIxBLaOrM0vUljC6oNt6xi/4NztPijsgVuHf0zHONk6zwjCFoWK+q 6h3B/XnY7f4fOWrUW4iVE2y+IsI27qD0pP19HXAhu2x/Y0g+b1a/3AbjCBL22AbcIaSx +eODEJ0yQyh7i+rRGbBsJcdcPTTeDMvjjOxn+dNCBydXV03flbofHCt2HtZmhK3J0571 fa9rGgPmqEvMGMLaQQGr5cQgiZfu5A8ovvzphciOazaCDvcM6xdLarJs7Th1kkRTKWB3 qLTkv+ncSNUstJOnO5qTHSDUs0aq9/p7bShTA+VB14Ur8tZ1Ql3JuTKScIn7XzVTfN6h /pnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx-de.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=7kSnm8vhZmeGP3+BknBPYFh2Ta3ZhORH79w53EaUGHk=; b=PUuH2I0Nvj6E+WlDGkNw2clyftXbYFlXpLct3APtZA+4F5TnJgrx+XQctNG6Cy8yYJ 9Krob2/hKI3QiONKfJNqjD9v/pM7WxXLhS2TrNLb14te51D2rrii2gq37h4QxrwJAoNU p+NZEgOUWesy1Fbno09l5TL2HjraTGhuacuLMlST/9nfry/wYjdfGhZhcf3xWTa9F/Qk +th8rHowzyIiWrf5mfENY6kcfozbeyaAwOungRcbXSY7cKaYzA8DXOp69FToBKiNDIwc xn0UlpEDcOU9ETZYGAMvgyjm9IlbzlIWDHUyTavX9RlHB78ll01rTJpbhmTWO2h8LgyH HFkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=7kSnm8vhZmeGP3+BknBPYFh2Ta3ZhORH79w53EaUGHk=; b=N8d0YDP8oRWCgiWkFSZnNvlhA1+T9T/dH8NsLvZoNCfa9t8bLddBPgz98avU9txz+c InDprhDpy47oTOveRacjauEBk/nlSqbP7q1DVIFnwVto6v9vTF+w+J/84wTD5maxTmx9 ONeN3VjhoDyHKHBRLr7XTathjwzZ2WHxWCmbrv6RxFGui1+rz3noWfWk0aEpAHyb6TNJ RfV0PaWjxZ1XpHibFaNRh6zMtcwHtKkdwppSL7Z4IAvyDEGZzXjyFlGe0npSOrUN6upZ G5xmbJ+h2ziakA4vgCavvw/bzgfY/IHRxHC10O7LwJWVsm4NnFSewq9gFr76FH0reHrl INXg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABUngvdf1rWxpGqFJLIhnzgjGj3QNyWxEx1nbrLkKxQUuj1Am9wy56HqPXrY/9qDCsHtvw== X-Received: by 10.157.17.3 with SMTP id g3mr1323229ote.8.1479294553445; Wed, 16 Nov 2016 03:09:13 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.41.209 with SMTP id g17ls898325otd.46.gmail; Wed, 16 Nov 2016 03:09:12 -0800 (PST) X-Received: by 10.157.35.87 with SMTP id k23mr2234818otd.13.1479294552815; Wed, 16 Nov 2016 03:09:12 -0800 (PST) In-Reply-To: <20161115134841.GD4589-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org> X-Original-Sender: volker.duetsch-Mmb7MZpHnFY@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:16039 Archived-At: ------=_Part_4152_1007788330.1479294552041 Content-Type: multipart/alternative; boundary="----=_Part_4153_1099325969.1479294552041" ------=_Part_4153_1099325969.1479294552041 Content-Type: text/plain; charset=UTF-8 pandoc 1.15.0.6 With http instead of https it works for this URL. I'm using pandoc often to get markdown documents for better readability. Will you consider to implement a skip certificate validation option? I think it could be sometimes helpful. And thanks a lot for the great work on my life changing tool pandoc :) Best, Volker Am Dienstag, 15. November 2016 14:49:16 UTC+1 schrieb John MacFarlane: > > pandoc version? Can you provide the actual URL so we can test? > > Anyway, no way to turn off validation, but you can try > without https perhaps? > > +++ vbd [Nov 14 16 08:02 ]: > > Hi, > > trying pandoc -f html -t markdown https://www.example.com > example.md > > results in > > pandoc: TlsException (HandshakeFailed (Error_Protocol ("certificate > > rejected: [NameMismatch > > \"www.example.com\"]",True,CertificateUnknown))) > > note: example.com is not the original url. > > It's not a general https issue, because on some other sites the > results > > are fine. > > Is there an option to skip the certificate validation like > > wget's no-check-certificate > > I couldn't find one in pandoc's --help output > > Best, > > Volker > > > > -- > > You received this message because you are subscribed to the Google > > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To post to this group, send email to > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To view this discussion on the web visit > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/bd4251e1-92d0-4eb7- > > 906d-28b43e2dedbd%40googlegroups.com. > > For more options, visit [4]https://groups.google.com/d/optout. > > > >References > > > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 3. > https://groups.google.com/d/msgid/pandoc-discuss/bd4251e1-92d0-4eb7-906d-28b43e2dedbd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > > 4. https://groups.google.com/d/optout > > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/02156751-3277-4b16-b70d-2a9ad9e394ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_4153_1099325969.1479294552041 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
pandoc 1.15.0.6
With http instead of https it works fo= r this URL.

I'm using pandoc often to get mark= down documents for better readability.

Will yo= u consider to implement a skip certificate validation option? I think it co= uld be sometimes helpful.

And thanks a lot for the= great work on my life changing tool pandoc :)

Bes= t,
Volker


Am Dienstag, 15. November = 2016 14:49:16 UTC+1 schrieb John MacFarlane:
pandoc version? =C2=A0Can you provide the actual URL so we ca= n test?

Anyway, no way to turn off validation, but you can try
without https perhaps?

+++ vbd [Nov 14 16 08:02 ]:
> =C2=A0 Hi,
> =C2=A0 trying pandoc -f html -t markdown https://www.example.com > example.md
> =C2=A0 results in
> =C2=A0 pandoc: TlsException (HandshakeFailed (Error_Protocol (&quo= t;certificate
> =C2=A0 rejected: [NameMismatch
> =C2=A0 \"w= ww.example.com\"]",True,CertificateUnknown)))
> =C2=A0 note: example.com is not the original url.
> =C2=A0 It's not a general https issue, because on some other s= ites the results
> =C2=A0 are fine.
> =C2=A0 Is there an option to skip the certificate validation like
> =C2=A0 wget's no-check-certificate
> =C2=A0 I couldn't find one in pandoc's --help output
> =C2=A0 Best,
> =C2=A0 Volker
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]
pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/bd4251e1-92d0-4eb7-<= /a>
> =C2=A0 906d-28b43e2dedbd%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/bd4251e1-9= 2d0-4eb7-906d-28b43e2dedbd@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/02156751-3277-4b16-b70d-2a9ad9e394ae%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_4153_1099325969.1479294552041-- ------=_Part_4152_1007788330.1479294552041--