SSL certificate problem unable to get local issuer certificate解决办法

摘要:
SSLcertificateproblemunabletogetlocalissuercertificate解决办法:下载:ca-bundle.crt将它放在自己的wamp或者xampp目录下,如c:wampca-bundle.crt在Apache中开启mod_ssl,在php.ini开启php_openssl.dll在php.ini文件中添加ca-bundle.crt的文件路径,如:curl.c

SSL certificate problem unable to get local issuer certificate 解决办法:

  1. 下载:ca-bundle.crt

  2. 将它放在自己的wamp或者xampp目录下,如c:wampca-bundle.crt

  3. 在Apache中开启mod_ssl,在php.ini开启php_openssl.dll
  4. 在php.ini文件中添加ca-bundle.crt的文件路径,如:

    curl.cainfo="C:/wamp/ca-bundle.crt"
    openssl.cafile="C:/wamp/ca-bundle.crt"
    
  5. 重启Apache服务器

免责声明:文章转载自《SSL certificate problem unable to get local issuer certificate解决办法》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇LINUX-文件的特殊属性Oracle里的整型与null问题下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

Nginx配置同一个域名http与https两种方式都可访问

##配置 http://test.pay.joyhj.com https://test.pay.joyhj.com 两者都可访问 # vim /usr/local/nginx/conf/vhost/test.pay.joyhj.com.confserver{   listen 80;   listen 443 ssl;  ##把ssl on;这行注释掉,...

嵌入式 Linux下编译并使用curl静态库

#x86./configure --disable-shared --enable-static --disable-ftp --disable-ipv6 --disable-rtsp --disable-tftp --disable-telnet --disable-largefile --disable-smtp --disable-imap --wi...

如何让springboot打包的项目部署在阿里云上使用https和http方式访问

前言 问题描述:怎么让springboot部署在服务器上使用https协议方式访问我们的接口或者域名,目的是某些平台请求的是https协议,而不是https 部署环境:阿里云 centos7服务器,springboot项目打包的jar,nginx反向代理 注:部署前需要解决几个问题 1)需要配置springboot项目支持https协议, 2)需要配置阿里...

Linux编译安装安Python3.7/3.8出现_ssl模块错误| python运行ssl模块出现ModuleNotFoundError

背景: 今天在Linux上使用paramiko模块的时候,出现了错误:ModuleNotFoundError:No module name '_ssl',但是我的系统是安装了openssl的1.0.1的,查了网络上的信息发现,Python3.7以后的版本,需要openssl1.0.2+,或者Libressl2.6.4+。 按照网络上的方法,安装了opens...

SpringBoot 配置 Tomcat SSL

SpringBoot 配置 Tomcat SSL   SSL(Secure Sockets Layer , 安全套接层)是为网络通信提供安全及数据完整性的一种安全协议,SSL在网络传输层对网络连接进行加密。SSL协议位于TCP/IP协议与各种应用层协议之间,为数据通信提供安全支持。SSL协议可分为两层:SSL记录协议(SSL Record Protocol...

WAMP环境搭建

Windows+Apache搭建PHP开发环境 第一步:下载安装的文件 1. Apache 版本 httpd-2.2.21-win32-x86-no_ssl.msi2. MySQL 版本 mysql-5.5.19-win32.msi3. PHP 版本 php-5.3.5-Win32-VC6-x86.zip4. phpMyadmin 版本 phpMyAdmi...