Skip to content

getimagesize SSL Problem #983

@guillaume-ro-fr

Description

@guillaume-ro-fr

The ImageTest::testUnsupportedImage() PHPUnit failed because of the certificate error with PHP on samples.libav.org.

php >getimagesize('http://samples.libav.org/image-samples/RACECAR.BMP');
PHP Warning:  getimagesize(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in php shell code on line 1
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. getimagesize() php shell code:1

Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in php shell code on line 1

Call Stack:
    6.6319     354064   1. {main}() php shell code:0
    6.6319     354064   2. getimagesize() php shell code:1

PHP Warning:  getimagesize(): Failed to enable crypto in php shell code on line 1
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. getimagesize() php shell code:1

Warning: getimagesize(): Failed to enable crypto in php shell code on line 1

Call Stack:
    6.6319     354064   1. {main}() php shell code:0
    6.6319     354064   2. getimagesize() php shell code:1

PHP Warning:  getimagesize(http://samples.libav.org/image-samples/RACECAR.BMP): failed to open stream: operation failed in php shell code on line 1
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. getimagesize() php shell code:1

Warning: getimagesize(http://samples.libav.org/image-samples/RACECAR.BMP): failed to open stream: operation failed in php shell code on line 1

Call Stack:
    6.6319     354064   1. {main}() php shell code:0
    6.6319     354064   2. getimagesize() php shell code:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions