About Mini Program, node, Tencent cos web direct transmission, ssl deployment?

it"s like this. Recently, I made a Mini Program who wanted to use the web stored by Tencent object to save pictures, but there were some problems on the legitimate domain name

.

1. The interface address of Mini Program request is api.xxx.com, which is equipped with Tencent Cloud"s free ssl certificate

.

2. Because Mini Program needs the upload address of the matching method for uploading files, the domain name cname, is upload.xxx.com, is configured on Tencent Cloud cos so that files can be uploaded directly to Tencent Cloud from upload.xxx.com

.

3. But there is a problem: the certificate on my server (written by node) is api.xxx.com, and upload.xxx.com does not have a matching certificate, which leads to Mini Program"s upload failure

4. How can I access api.xxx.com and upload.xxx.com using their own certificates, or there are other ways to solve this problem? thank you

Mar.22,2021
Menu