Loading...
 
Skip to main content

make mpdf of images also work also when using https cert with issues

Status
Open
Subject
make mpdf of images also work also when using https cert with issues
Version
21.x
22.x
23.x
24.x
Category
  • Conflict of two features (each works well independently)
  • Error
Feature
PDF
Resolution status
New
Submitted by
Xavier de Pedro
Keep informed
Marc Laporte, rjsmelo
Lastmod by
Xavier de Pedro
Rating
(0)
Description

mpdf seems to faill to include images in the generated pdf file when you use:

  • some self-signed https certificate, or
  • a valid one but issued from a certification agency (like from a local public administration, in our case at work) which is not recognized by your browser by default unless you import a specific authority file in the right place (and I don't know how to do that for mpdf).


I wish there was some way to tell mpdf to avoid checking https certificate validity, like the option you can have in many other programs (wget, curl, git, ...). If that is possible, then a new option should be added in Tiki UI to let the tiki site admin enable it in those known use cases in which you need that feature.

As an example, that would have allowed to use mpdf successfully in the last couple of years at work. And we still can't use it normally due to this issue.

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7806
Created
Thursday 05 August, 2021 21:18:44 UTC
by Xavier de Pedro
LastModif
Thursday 05 August, 2021 21:18:44 UTC


Show PHP error messages