Re: Ignore self-signed SSL certificate warnings

224 views
Skip to first unread message

BrianS

unread,
May 20, 2013, 11:24:42 PM5/20/13
to dom...@googlegroups.com
In dompdf 0.6.0 you can supply a connection context to dompdf which it will use when accessing files. Connection contexts can be set up to allow self-signed SSL. So set up your context then pass it to the dompdf object using the set_http_context() method.



On Monday, May 20, 2013 10:54:38 PM UTC-4, Patrick Cummins wrote:
My local development environment uses a self signed cert.  This prevents the images from loading.

Is there an config option that can be set which will tell DOMPDF's curl/file_get_info to ignore the ssl cert warnings?

I'm using composer, so I'd like to be able to define a constant before the dompdf config file is included.

PC
Reply all
Reply to author
Forward
0 new messages