nuxeo

Fopen accept self signed certificate

折月煮酒 提交于 2020-05-29 04:00:48
问题 i would like to get the result of my page in https in a php variable but the fopen fonction return false; i think this error can be product by the ssl certifacte which is self signed fopen("https://192.168.1.1:8443", "rb")) Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Is it a php ssl configuration to accept all certificate ? 回答1: see Error when loading external xml file with php