mirror of
https://github.com/certd/certd.git
synced 2026-07-17 03:17:34 +08:00
chore: handsfree.work 域名 修改
This commit is contained in:
@@ -263,4 +263,4 @@ export function createChallengeFn(opts = {}) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// createChallengeFn({logger:{info:console.log}}).walkDnsChallengeRecord("handsfree.work")
|
// createChallengeFn({logger:{info:console.log}}).walkDnsChallengeRecord("handfree.work")
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ VITE_APP_PM_ENABLED=true
|
|||||||
VITE_APP_TITLE=Certd
|
VITE_APP_TITLE=Certd
|
||||||
VITE_APP_SLOGAN=让你的证书永不过期
|
VITE_APP_SLOGAN=让你的证书永不过期
|
||||||
VITE_APP_COPYRIGHT_YEAR=2021-2026
|
VITE_APP_COPYRIGHT_YEAR=2021-2026
|
||||||
VITE_APP_COPYRIGHT_NAME=handsfree.work
|
VITE_APP_COPYRIGHT_NAME=handfree.work
|
||||||
VITE_APP_COPYRIGHT_URL=https://certd.handsfree.work
|
VITE_APP_COPYRIGHT_URL=https://certd.handfree.work
|
||||||
VITE_APP_LOGO=static/images/logo/logo.svg
|
VITE_APP_LOGO=static/images/logo/logo.svg
|
||||||
VITE_APP_LOGIN_LOGO=static/images/logo/rect-black.svg
|
VITE_APP_LOGIN_LOGO=static/images/logo/rect-black.svg
|
||||||
VITE_APP_PROJECT_PATH=https://github.com/certd/certd
|
VITE_APP_PROJECT_PATH=https://github.com/certd/certd
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export default {
|
|||||||
"The domain name configured here serves as a proxy for verifying other domains. When other domains apply for certificates, they map to this domain via CNAME for ownership verification. The advantage is that any domain can apply for a certificate this way without providing an AccessSecret.",
|
"The domain name configured here serves as a proxy for verifying other domains. When other domains apply for certificates, they map to this domain via CNAME for ownership verification. The advantage is that any domain can apply for a certificate this way without providing an AccessSecret.",
|
||||||
cnameLinkText: "CNAME principle and usage instructions",
|
cnameLinkText: "CNAME principle and usage instructions",
|
||||||
cnameDomain: "CNAME Domain",
|
cnameDomain: "CNAME Domain",
|
||||||
cnameDomainPlaceholder: "cname.handsfree.work",
|
cnameDomainPlaceholder: "cname.handfree.work",
|
||||||
cnameDomainHelper:
|
cnameDomainHelper:
|
||||||
"Requires a domain registered with a DNS provider on the right (or you can transfer other domain DNS servers here).\nOnce the CNAME domain is set, it cannot be changed. It is recommended to use a first-level subdomain.",
|
"Requires a domain registered with a DNS provider on the right (or you can transfer other domain DNS servers here).\nOnce the CNAME domain is set, it cannot be changed. It is recommended to use a first-level subdomain.",
|
||||||
cnameDomainPattern: "Domain name cannot contain *",
|
cnameDomainPattern: "Domain name cannot contain *",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ export default {
|
|||||||
cnameDescription: "此处配置的域名作为其他域名校验的代理,当别的域名需要申请证书时,通过CNAME映射到此域名上来验证所有权。好处是任何域名都可以通过此方式申请证书,也无需填写AccessSecret。",
|
cnameDescription: "此处配置的域名作为其他域名校验的代理,当别的域名需要申请证书时,通过CNAME映射到此域名上来验证所有权。好处是任何域名都可以通过此方式申请证书,也无需填写AccessSecret。",
|
||||||
cnameLinkText: "CNAME功能原理及使用说明",
|
cnameLinkText: "CNAME功能原理及使用说明",
|
||||||
cnameDomain: "CNAME域名",
|
cnameDomain: "CNAME域名",
|
||||||
cnameDomainPlaceholder: "cname.handsfree.work",
|
cnameDomainPlaceholder: "cname.handfree.work",
|
||||||
cnameDomainHelper: "需要一个右边DNS提供商注册的域名(也可以将其他域名的dns服务器转移到这几家来)。\nCNAME域名一旦确定不可修改,建议使用一级子域名",
|
cnameDomainHelper: "需要一个右边DNS提供商注册的域名(也可以将其他域名的dns服务器转移到这几家来)。\nCNAME域名一旦确定不可修改,建议使用一级子域名",
|
||||||
cnameDomainPattern: "域名不能使用星号",
|
cnameDomainPattern: "域名不能使用星号",
|
||||||
cnameProviderSubdomain: "托管子域名",
|
cnameProviderSubdomain: "托管子域名",
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ typeorm:
|
|||||||
|
|
||||||
#plus:
|
#plus:
|
||||||
# server:
|
# server:
|
||||||
# baseUrl: 'https://api.ai.handsfree.work'
|
# baseUrl: 'https://api.ai.handfree.work'
|
||||||
|
|
||||||
plus:
|
plus:
|
||||||
server:
|
server:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ typeorm:
|
|||||||
|
|
||||||
#plus:
|
#plus:
|
||||||
# server:
|
# server:
|
||||||
# baseUrl: 'https://api.ai.handsfree.work'
|
# baseUrl: 'https://api.ai.handfree.work'
|
||||||
|
|
||||||
plus:
|
plus:
|
||||||
server:
|
server:
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ input:
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
helper: 你在七牛云上配置的CDN加速域名,比如:certd.handsfree.work
|
helper: 你在七牛云上配置的CDN加速域名,比如:certd.handfree.work
|
||||||
order: 0
|
order: 0
|
||||||
output: {}
|
output: {}
|
||||||
pluginType: deploy
|
pluginType: deploy
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ desc: 自动部署域名证书至七牛云KODO,注意是自定义源站域名
|
|||||||
input:
|
input:
|
||||||
domainName:
|
domainName:
|
||||||
title: 自定义源站域名
|
title: 自定义源站域名
|
||||||
helper: 你在七牛云上配置的OSS域名,比如:certd.handsfree.work
|
helper: 你在七牛云上配置的OSS域名,比如:certd.handfree.work
|
||||||
required: true
|
required: true
|
||||||
order: 0
|
order: 0
|
||||||
cert:
|
cert:
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export class SysPlusController extends BaseController {
|
|||||||
// const bindUrl = 'http://127.0.0.1:7001/';
|
// const bindUrl = 'http://127.0.0.1:7001/';
|
||||||
// const service = new PlusRequestService({
|
// const service = new PlusRequestService({
|
||||||
// subjectId: subjectId,
|
// subjectId: subjectId,
|
||||||
// plusServerBaseUrls: ['https://api.ai.handsfree.work'],
|
// plusServerBaseUrls: ['https://api.ai.handfree.work'],
|
||||||
// });
|
// });
|
||||||
// const body = { subjectId, appKey: 'kQth6FHM71IPV3qdWc', url: bindUrl };
|
// const body = { subjectId, appKey: 'kQth6FHM71IPV3qdWc', url: bindUrl };
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { PipelineEntity } from "../../../modules/pipeline/entity/pipeline.js";
|
|||||||
const pipelineExample = `
|
const pipelineExample = `
|
||||||
// 流水线配置示例,实际传送时要去掉注释
|
// 流水线配置示例,实际传送时要去掉注释
|
||||||
{
|
{
|
||||||
"title": "handsfree.work证书自动化", //标题
|
"title": "handfree.work证书自动化", //标题
|
||||||
"runnableType": "pipeline", //类型,固定为pipeline
|
"runnableType": "pipeline", //类型,固定为pipeline
|
||||||
"projectId": 1, // 项目ID, 未开启企业模式,无需传递
|
"projectId": 1, // 项目ID, 未开启企业模式,无需传递
|
||||||
"type": "cert", // 流水线类型,cert:证书自动化, custom :自定义流水线
|
"type": "cert", // 流水线类型,cert:证书自动化, custom :自定义流水线
|
||||||
|
|||||||
+2
-2
@@ -28,12 +28,12 @@ describe("DnsPersistRecordService", () => {
|
|||||||
const service = new DnsPersistRecordService();
|
const service = new DnsPersistRecordService();
|
||||||
|
|
||||||
const record = await service.buildRecord({
|
const record = await service.buildRecord({
|
||||||
domain: "aaa.handsfree.work",
|
domain: "aaa.handfree.work",
|
||||||
accountUri: "https://example.com/acct/1",
|
accountUri: "https://example.com/acct/1",
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.equal(record.hostRecord, "_validation-persist.aaa");
|
assert.equal(record.hostRecord, "_validation-persist.aaa");
|
||||||
assert.equal(record.mainDomain, "handsfree.work");
|
assert.equal(record.mainDomain, "handfree.work");
|
||||||
assert.equal(record.recordValue, "letsencrypt.org; accounturi=https://example.com/acct/1; policy=wildcard");
|
assert.equal(record.recordValue, "letsencrypt.org; accounturi=https://example.com/acct/1; policy=wildcard");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export class CertApplyLegoPlugin extends CertApplyBasePlugin {
|
|||||||
// vModel: "value",
|
// vModel: "value",
|
||||||
// options: [
|
// options: [
|
||||||
// { value: "https://acme-v02.api.letsencrypt.org/directory", label: "Let's Encrypt" },
|
// { value: "https://acme-v02.api.letsencrypt.org/directory", label: "Let's Encrypt" },
|
||||||
// { value: "https://letsencrypt.proxy.handsfree.work/directory", label: "Let's Encrypt代理,letsencrypt.org无法访问时使用" },
|
// { value: "https://letsencrypt.proxy.handfree.work/directory", label: "Let's Encrypt代理,letsencrypt.org无法访问时使用" },
|
||||||
// ],
|
// ],
|
||||||
// },
|
// },
|
||||||
// required: true,
|
// required: true,
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ export class HostDeployToIIS extends AbstractPlusTaskPlugin {
|
|||||||
*
|
*
|
||||||
* SiteName HttpsBindings
|
* SiteName HttpsBindings
|
||||||
* -------- -------------
|
* -------- -------------
|
||||||
* first *:443:first.handsfree.work
|
* first *:443:first.handfree.work
|
||||||
*/
|
*/
|
||||||
// 解析获取网站名称
|
// 解析获取网站名称
|
||||||
const siteOptions = [];
|
const siteOptions = [];
|
||||||
|
|||||||
+1
-1
@@ -118,7 +118,7 @@ export class CtyunDeployToCDN extends AbstractTaskPlugin {
|
|||||||
const domain_details = res.domain_details;
|
const domain_details = res.domain_details;
|
||||||
const errorMessage = "";
|
const errorMessage = "";
|
||||||
for (const domainDetail of domain_details) {
|
for (const domainDetail of domain_details) {
|
||||||
// "code":200002,"domain":"ctyun.handsfree.work","message":"参数cert_name只在https_status为on时才有效"}
|
// "code":200002,"domain":"ctyun.handfree.work","message":"参数cert_name只在https_status为on时才有效"}
|
||||||
if (domainDetail.code !== 100000) {
|
if (domainDetail.code !== 100000) {
|
||||||
const thisMessage = `部署失败[${domainDetail.code}]:${domainDetail.domain}:${domainDetail.message}`;
|
const thisMessage = `部署失败[${domainDetail.code}]:${domainDetail.domain}:${domainDetail.message}`;
|
||||||
if (thisMessage.includes("已有进行中的工单") || errorMessage.includes("域名正在操作中")) {
|
if (thisMessage.includes("已有进行中的工单") || errorMessage.includes("域名正在操作中")) {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export class QiniuDeployCertToCDN extends AbstractTaskPlugin {
|
|||||||
@TaskInput(
|
@TaskInput(
|
||||||
createRemoteSelectInputDefine({
|
createRemoteSelectInputDefine({
|
||||||
title: "CDN加速域名",
|
title: "CDN加速域名",
|
||||||
helper: "你在七牛云上配置的CDN加速域名,比如:certd.handsfree.work",
|
helper: "你在七牛云上配置的CDN加速域名,比如:certd.handfree.work",
|
||||||
rules: [{ type: "domains", allowDotStart: true }],
|
rules: [{ type: "domains", allowDotStart: true }],
|
||||||
action: QiniuDeployCertToCDN.prototype.onGetDomainList.name,
|
action: QiniuDeployCertToCDN.prototype.onGetDomainList.name,
|
||||||
required: true,
|
required: true,
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import { QiniuAccess, QiniuClient } from "../../plugin-lib/qiniu/index.js";
|
|||||||
export class QiniuDeployCertToOSS extends AbstractTaskPlugin {
|
export class QiniuDeployCertToOSS extends AbstractTaskPlugin {
|
||||||
@TaskInput({
|
@TaskInput({
|
||||||
title: "自定义源站域名",
|
title: "自定义源站域名",
|
||||||
helper: "你在七牛云上配置的OSS域名,比如:certd.handsfree.work",
|
helper: "你在七牛云上配置的OSS域名,比如:certd.handfree.work",
|
||||||
required: true,
|
required: true,
|
||||||
})
|
})
|
||||||
domainName!: string;
|
domainName!: string;
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ export class UCloudDeployToCDN extends AbstractTaskPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* "Domain": "ucloud.certd.handsfree.work",
|
* "Domain": "ucloud.certd.handfree.work",
|
||||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||||
*/
|
*/
|
||||||
const options = list.map((item: any) => {
|
const options = list.map((item: any) => {
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ export class UCloudDeployToWaf extends AbstractTaskPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* "Domain": "ucloud.certd.handsfree.work",
|
* "Domain": "ucloud.certd.handfree.work",
|
||||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||||
*/
|
*/
|
||||||
const options = list.map((item: any) => {
|
const options = list.map((item: any) => {
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ certificateKey
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* "Domain": "ucloud.certd.handsfree.work",
|
* "Domain": "ucloud.certd.handfree.work",
|
||||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||||
*/
|
*/
|
||||||
const options = list.map((item: any) => {
|
const options = list.map((item: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user