I've been using EvoPdf version 3.5 without problem for long but all of a sudden it can’t read a stylesheet from SSL.
string html = "<link href=\"https://www.domain.com/styles.css\" rel=\"stylesheet\" type=\"text/css\" />Test";
PdfConverter pdfConverter = new PdfConverter();
byte[] bytes = pdfConverter.GetPdfBytesFromHtmlString(html);
It works fine if loading stylesheet from http
. And on another IIS the stylesheet can be read from SSL.
I have no idea about how to troubleshoot this. Can it be a DNS issue?
The reason was that SSL 3.0 was disabled on the server and versions of EVO HTML to PDF converter lower than 4.0 don’t have full support for TLS and therefore might not work properly on all the servers when accessing HTTPS documents or resources. This can lead to errors, missing images and styles if those resources are referenced by HTTPS URLs in HTML document.