求助:
gatewayworker的event.php里面,需要調(diào)用第三方服務(wù)接口,調(diào)用騰訊https正常,調(diào)用谷歌的https報(bào)錯(cuò),網(wǎng)上搜索了下是由于谷歌的證書是自簽名的,所以會(huì)提示certificate verify failed,騰訊用的是第三方的證書,能正常調(diào)用沒有問題。請(qǐng)問這個(gè)調(diào)用報(bào)錯(cuò)該如何設(shè)置和處理呢?謝謝
SSL handshake error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
謝謝,用一樓的github的方法處理后,已經(jīng)正常