<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]PHP Curl Problem with the SSL CA cert (path? access rights?) 解决PHP Problem with the SSL CA cert (path? access rights?)]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Mon, 08 Apr 2019 09:43:45 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：前些天安全说是OpenSSL在CentOS6.X里面有漏洞，于是乎，就更新了OpenSSL,没有想到会在PHP-FPM里调用譬如 七牛的SSL出现问题PHP Problem with the SSL CA cert (path? access rights?)，说白了就是得重启一下php-fpm一下，其它的也还好，如果是Nginx出现这样的问题，处理办法一样。<br/>关于这方面的知识有：<br/>1）厉害了，一篇漫画终于让我看懂了HTTPS协议的学习笔记。图解ssl 图文https。：&nbsp;&nbsp;<a href="https://jackxiang.com/post/10110/" target="_blank">https://jackxiang.com/post/10110/</a><br/><br/>2）rpm -q --changelog openssl &#124; grep CVE-2014-0160&nbsp;&nbsp;<br/>- fix CVE-2014-0160 - information disclosure in TLS heartbeat extension&nbsp;&nbsp;参考：<br/><a href="https://jackxiang.com/post/9882/" target="_blank">https://jackxiang.com/post/9882/</a><br/><br/><br/>以下摘录自网络：<br/>开发遇到问题，直接使用系统的curl命令正常，使用php的curl模块报错<br/><br/>错误：PHP Problem with the SSL CA cert (path? access rights?)<br/><br/>解决方法：<br/><br/>1.安装<br/><br/>yum reinstall openssl ca-certificates -y<br/><br/>2.重启php<br/><br/><br/>来自：https://cloud.tencent.com/developer/article/1097683<br/><br/><br/><br/>===========================根本原因是没有没有重新启动PHP-FPM========================<br/>问题背景：<br/>早上起床收到短信提醒，WEB服务器集群发现漏洞，于是更新服务， 其中一条是: yum update openssl <br/><br/>问题现象：<br/>1. 命令行直接使用系统的curl命令一切正常<br/><br/>2. LAMP环境中调用curl则报错： Curl Problem with the SSL CA cert (path? access rights?)<br/><br/>问题原因：<br/>更新openssl后， 证书也跟着更新了， 但是apache容器【旧进程】无法正确读取到新的证书以及权限<br/><br/>解决方案：<br/>1. yum reinstall openssl ca-certificates -y &amp;&amp; service httpd restart <br/><br/>From:http://www.blogdaren.com/post-2357.html
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]PHP Curl Problem with the SSL CA cert (path? access rights?) 解决PHP Problem with the SSL CA cert (path? access rights?)]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>