Table of Contents
curl: (60) SSL certificate problem: unable to get local issuer certificate 错误,curlissuer
SSL 错误 86 解决办法
Linux 下怎为wget等安装证书
Home php教程 php手册 curl: (60) SSL certificate problem: unable to get local issuer certificate 错误,curlissuer

curl: (60) SSL certificate problem: unable to get local issuer certificate 错误,curlissuer

Jun 13, 2016 am 09:24 AM
ssl

curl: (60) SSL certificate problem: unable to get local issuer certificate 错误,curlissuer

此问题的出现是由于没有配置信任的服务器HTTPS验证。默认,cURL被设为不信任任何CAs,就是说,它不信任任何服务器验证。因此,这就是浏览器无法通过HTTPs访问你服务器的原因。当此问题出现时,网络程序员最好的办法是充分指定一组默认的受信任CAs,前提是你已经从这些CAs中购买过证书。
如果你的内容不敏感,一个快捷的方法是使用curl_exec()之前跳过ssl检查项:

curl_setopt(<span>$ch</span>, CURLOPT_SSL_VERIFYPEER, <span>false</span>);
Copy after login

SSL 错误 86 解决办法

错误信息:无法验证安全证书 unable go get local issuer certificate。
英文错误信息的翻译过来是“不能获得证书颁发者”,这是因为你电脑中没有安装此证书的CA证书。

你需要做的是:获得证书的CA证书,并将之安装到你的电脑中。
 

Linux 下怎为wget等安装证书

好好看一下wget 的帮助,加-no-check-certificate 选项,试试。
 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Can't wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier Can't wait for universal controls? Now share your keyboard and mouse between Mac, PC with Barrier Apr 14, 2023 pm 12:04 PM

How to Share Keyboard and Mouse Between Mac/PC Using Barrier You need to make sure that the computers you want to share your mouse and keyboard with are on the same network, and you'll be switching back and forth between different Macs during the initial setup. Get the latest version of Barrier here (DMG for Mac, exe for Windows) – Download it to each computer you want to be able to use your keyboard and mouse Install Barrier from the DMG (or use the exe to Windows) Copy to the /Applications folder on each Mac you plan to use it on and right-click Barr

After Java8 (291), TLS1.1 is disabled and JDBC cannot connect to SqlServer2008 using SSL. How to solve the problem? After Java8 (291), TLS1.1 is disabled and JDBC cannot connect to SqlServer2008 using SSL. How to solve the problem? May 16, 2023 pm 11:55 PM

After Java8-291, TLS1.1 is disabled, so that JDBC cannot connect to SqlServer2008 using SSL. What should I do? The following is the solution to modify the java.security file 1. Find the java.security file of jre. If it is jre, go to {JAVA_HOME}/jre/ In lib/security, for example????C:\ProgramFiles\Java\jre1.8.0_301\lib\security. If it is the Eclipse green installation-free portable version, search for java.security in the installation folder, such as????xxx\plugins \org

How to implement SSL passthrough in HAProxy How to implement SSL passthrough in HAProxy Mar 20, 2024 am 09:30 AM

Keeping web servers load balanced is one of the key measures to prevent downtime. Using a load balancer is a reliable approach, with HAProxy being a highly regarded choice. Using HAProxy, you can accurately configure the load balancing method and support SSL passthrough to ensure the security of communication between the client and the server. It starts by exploring the importance of implementing SSL passthrough in HAProxy, followed by a detailed discussion of the steps required to implement this feature and an example for better understanding. What is SSL passthrough? Why is it important? As a load balancer, HAProxy accepts and distributes the load flowing to your web servers across configured servers. Load distribution is targeted to client devices and

MySQL: Introduction to SSL connection and setup steps MySQL: Introduction to SSL connection and setup steps Sep 08, 2023 pm 03:51 PM

MySQL: Introduction to SSL connection and summary of setup steps: MySQL provides SSL (SecureSocketsLayer) connection to encrypt the data transmitted between the client and the server. This article will introduce the concept and role of SSL connections, and provide steps and related code examples to set up SSL connections in MySQL. Introduction: As networks and data transmission continue to expand, data security becomes more and more important. By using an SSL connection we can add

Nginx with SSL: Configure HTTPS to protect your web server Nginx with SSL: Configure HTTPS to protect your web server Jun 09, 2023 pm 09:24 PM

Nginx is a high-performance web server software and a powerful reverse proxy server and load balancer. With the rapid development of the Internet, more and more websites are beginning to use the SSL protocol to protect sensitive user data, and Nginx also provides powerful SSL support, making the security performance of the web server even further. This article will introduce how to configure Nginx to support the SSL protocol and protect the security performance of the web server. What is SSL protocol? SSL (SecureSocket

Fix: ERR_CERT_WEAK_SIGNATURE_ALGORITHM error in Chrome on Windows PC Fix: ERR_CERT_WEAK_SIGNATURE_ALGORITHM error in Chrome on Windows PC Apr 18, 2023 am 09:41 AM

Many Windows users have recently started complaining about an issue where they receive error messages while browsing chrome browser found unsecured web pages and throws error message YourconnectionisnotprivatewithaerrorcodeNET::ERR_CERT_WEAK_SIGNATURE_ALGORITHMonWindows11 system. Now Windows users are not sure what causes this issue and how they can fix it to browse the web with ease. Some of the reasons that may cause this error message are mentioned below. SSL certificate cache issue corrupted browsing data

How to use Nginx proxy server to implement dynamic SSL certificate generation for web services? How to use Nginx proxy server to implement dynamic SSL certificate generation for web services? Sep 05, 2023 pm 02:24 PM

How to use Nginx proxy server to implement dynamic SSL certificate generation for web services? Nginx is a high-performance open source web server that can be used for various purposes such as proxy server, reverse proxy and load balancing. Its flexibility allows us to utilize its powerful features to achieve dynamic SSL certificate generation to provide more secure and flexible web services. This article will introduce in detail how to use the Nginx proxy server to generate dynamic SSL certificates. First, we need to generate a self-signed root certificate and private key

How to install and deploy Nginx server SSL certificate in Windows environment How to install and deploy Nginx server SSL certificate in Windows environment May 15, 2023 am 09:37 AM

The contents of the Nginx server certificate compressed package certificate compressed folder are as follows (the domain name of baidu.com is used as an example here): baidu.com_bundle.crt certificate file baidu.com_bundle.pem certificate file (this file can be ignored) baidu.com.key Copy the private key file baidu.com.csrCSR file, certificate file and private key file. Copy the obtained baidu.com_bundle.crt certificate file and baidu.com.key private key file from the local directory to the conf directory under the Nginx root directory and modify it. nginx.conf configuration edit in the Nginx root directory

See all articles