Skip to content

Latest commit

 

History

History

ConvertIgnoringSslErrors

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Convert URL to PDF ignoring SSL errors in C# or VB.NET

This sample shows how to convert a web page to PDF ignoring SSL errors in C# or VB.NET application.

The Ignore SSL errors section contains additional information.

Description

Self-signed or otherwise untrusted certificates can cause SSL errors. Revoked and expired certificates can cause the HTML converter to throw exceptions, too. In cases when you still would like to convert those HTML pages, use the engine options with IgnoreSslErrors = true to ignore SSL errors.

This sample code uses free Docotic.Pdf.HtmlToPdf add-on for Docotic.Pdf library.

See also