tiger333777 commented on issue #317:
URL:
https://github.com/apache/incubator-apisix-dashboard/issues/317#issuecomment-657570193
(/root/go/src/github.com/apisix/manager-api/service/ssl.go:227)
[2020-07-13 19:29:26] [1.59ms] INSERT INTO `ssls`
(`id`,`create_time`,`update_time`,`validity_start`,`validity_end`,`snis`,`status`,`public_key`,`public_key_hash`)
VALUES
('025eec71-7f43-4234-833c-8496afdd94f2',1594639766,1594639766,1560843085,1624001485,'["*.y.*.com","y.*.com"]',1,'-----BEGIN
CERTIFICATE-----
*******************
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
********************
-----END CERTIFICATE-----','19976900bbe57babe7dad87eb7532b7a')
[1 rows affected or returned ]
{"app":"manager-api","level":"error","line":"service/ssl.go:419","msg":"http://127.0.0.1/apisix/admin/ssl/025eec71-7f43-4234-833c-8496afdd94f2","time":"2020-07-13T19:29:26+08:00"}
{"app":"manager-api","level":"error","line":"service/ssl.go:420","msg":"{\"cert\":\"-----BEGIN
CERTIFICATE-----\\r\\*-----END RSA PRIVATE
KEY-----\",\"snis\":[\"*.y.*.com\",\"y.*.com\"]}","time":"2020-07-13T19:29:26+08:00"}
{"app":"manager-api","level":"error","line":"service/ssl.go:421","msg":"status:
400, body: {\"error_msg\":\"invalid configuration: property \\\"sni\\\" is
required\"}\n","time":"2020-07-13T19:29:26+08:00"}
{"app":"manager-api","level":"error","line":"route/consumer.go:54","msg":"TraceId:
, Code: 010402, Msg: Failed to create APISIX SSL, Detail: status: 400, body:
{\"error_msg\":\"invalid configuration: property \\\"sni\\\" is
required\"}\n","requestId":"c06287e1-763c-4062-8d07-3cb89a5fc799","time":"2020-07-13T19:29:26+08:00"}
{"app":"manager-api","errMsg":null,"host":"172.16.1.115:8080","latency":10,"level":"info","line":"filter/logging.go:73","method":"POST","msg":"","params":"{\"cert\":\"******-----END
RSA PRIVATE
KEY-----\\n\"}","path":"/apisix/admin/ssls","remoteIp":"192.168.3.11","requestId":"c06287e1-763c-4062-8d07-3cb89a5fc799","respBody":"{\"code\":\"010402\",\"msg\":\"Failed
to create APISIX SSL\"}","statusCode":500,"time":"2020-07-13T19:29:26+08:00"}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]