Open fairyex opened 1 year ago
@w0x0021
非常抱歉,我这套脚本没有做备份,我提供一个基础的文件你覆盖掉原有的INFO
文件内容,测试一下看看能否解决
{
"vHTDkQ" : {
"desc" : "",
"services" : [
{
"display_name" : "FTPS",
"isPkg" : false,
"owner" : "root",
"service" : "ftpd",
"subscriber" : "smbftpd"
},
{
"display_name" : "DSM Desktop Service",
"display_name_i18n" : "common:web_desktop",
"isPkg" : false,
"owner" : "root",
"service" : "default",
"subscriber" : "system"
},
{
"display_name" : "Drive",
"display_name_i18n" : "SYNO.SDS.Drive.Application:drive:displayname",
"isPkg" : true,
"owner" : "SynologyDrive",
"service" : "SynologyDrive",
"subscriber" : "SynologyDrive"
},
{
"display_name" : "api.wangsansan.com",
"isPkg" : true,
"owner" : "root",
"service" : "vhost_7065455a-c835-4cc3-9635-45f586013d57",
"subscriber" : "WebStation"
}
]
},
"y0RwiA" : {
"desc" : "",
"services" : []
}
}
将上述代码复制到/usr/syno/etc/certificate/_archive/INFO
文件(先备份一下)
每个节点的6位字符串key,你修改一下对应关系,我简单列一下JSON的含义:
{
"证书目录名称":{
"services" : { // 该证书所涵盖的服务项
{
"display_name": 服务名称
"display_name_i18n" : 服务的启动名称
},
}
}
}
@fairyex
好的我试试
两个 INFO 文件不同之处在于:
原本的 INFO 文件开头:
{ "dyCI4X" : { "desc" : "我的域名", "services" : [ { "display_name" : "FTPS", "isPkg" : false, "owner" : "root", "service" : "ftpd", "subscriber" : "smbftpd" },
acme.sh 过后的 INFO 开头:
{ "97265c" : { "desc" : "" }, "dyCI4X" : { "desc" : "我的域名", "services" : [ { "display_name" : "FTPS", "isPkg" : false, "owner" : "root", "service" : "ftpd", "subscriber" : "smbftpd" },
修改对应的之后一切就恢复正常了,这个 Bug 定位和修复应该不难,有空可以修复一下
@w0x0021
之前没看到上一个 issue 就用了,现在是同样的问题,有没有什么补救的方法