public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* HTML to markdown and probably certificate issues
@ 2016-11-14 16:02 vbd
       [not found] ` <bd4251e1-92d0-4eb7-906d-28b43e2dedbd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: vbd @ 2016-11-14 16:02 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1081 bytes --]

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 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/bd4251e1-92d0-4eb7-906d-28b43e2dedbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1881 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HTML to markdown and probably certificate issues
       [not found] ` <bd4251e1-92d0-4eb7-906d-28b43e2dedbd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-11-15 13:48   ` John MacFarlane
       [not found]     ` <20161115134841.GD4589-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2016-11-15 13:48 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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-discuss-/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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HTML to markdown and probably certificate issues
       [not found]     ` <20161115134841.GD4589-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
@ 2016-11-16 11:09       ` vbd
  0 siblings, 0 replies; 3+ messages in thread
From: vbd @ 2016-11-16 11:09 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2860 bytes --]

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 <javascript:>. 
> >   To post to this group, send email to 
> >   [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> >   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 <javascript:> 
> >   2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:> 
> >   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.

[-- Attachment #1.2: Type: text/html, Size: 8066 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-16 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 16:02 HTML to markdown and probably certificate issues vbd
     [not found] ` <bd4251e1-92d0-4eb7-906d-28b43e2dedbd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-15 13:48   ` John MacFarlane
     [not found]     ` <20161115134841.GD4589-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2016-11-16 11:09       ` vbd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).