我的云函数在本地可以运行,在线上提示证书过期错误
错误如下:
Error: [video-resource]: CERT_HAS_EXPIRED:certificate has expired, GET https://a1.m1907.cn/api/search_prompt -1 (connected: true, keepalive socket: false, agent status: {"createSocketCount":1,"createSocketErrorCount":0,"closeSocketCount":0,"errorSocketCount":1,"timeoutSocketCount":0,"requestCount":0,"freeSockets":{},"sockets":{"a1.m1907.cn:443:::::::::":1},"requests":{}}, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}
在网页查看证书,信息如下:
证书有效
颁发给:m1907.cn
颁发者:R3
有限期从 2021/11/14 到 2022/2/12
例子:
https://a1.m1907.cn/api/search_prompt?k=斗破
1 个回复
DCloud_uniCloud_WYQ
let's encrypt 证书问题