WeChat Applet
Mini Program Development
SSL certificate configuration for small program development to solve request fail problemSSL certificate configuration for small program development to solve request fail problem
WeChat applet forces all interfaces to use https for access. However, after the server is configured with a certificate, it can be accessed normally using the IDE, but errors are always reported when using a real machine (both ios and andriod). Display request fail failed to complete the operation. KCFErrorDomainCFNetwork Error 301.

Solution
1. Geotrust first check your site. Solve some common problems, such as the intermediate certificate is not installed, etc.
2. WeChat supports, and only supports ssl_protocols TLSv1 TLSv1.1 TLSv1.2; therefore, you need to delete these protocols SSL V2 and SSL V3
3. Encryption method ssl_ciphers AES128+EECDH:AES128+EDH :!aNULL;
After solving it
After configuring, check it and it will look like this. There will also be BEAST info, which does not need to be processed.

The reference given by Tencent is https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=10_4
But Tencent is such a cheater, ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; The punctuation marks are in Chinese, so you know.
If nginx is configured using the above configuration file, it will be fine. If you use iis, you will find a method to modify the registry through google. After modifying the registry, restart the server and it will be fine.
For more SSL certificate configuration for small program development and solving the request fail problem, please pay attention to the PHP Chinese website for related articles!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.




