出错结果如下图所示: 出错原因是证书路径给错了,即错误中所说的systeml library: fopen: no such file or directory。在代码中将证书路径修改正确时候,程序正常运行。