mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
fix: 修复waf tls版本号小写
This commit is contained in:
@@ -93,13 +93,13 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin {
|
|||||||
|
|
||||||
@TaskInput({
|
@TaskInput({
|
||||||
title: 'TLS版本',
|
title: 'TLS版本',
|
||||||
value: 'TLSv1.2',
|
value: 'tlsv1.2',
|
||||||
component: {
|
component: {
|
||||||
name: 'a-select',
|
name: 'a-select',
|
||||||
options: [
|
options: [
|
||||||
{ value: 'TLSv1', label: 'TLSv1' },
|
{ value: 'tlsv1', label: 'TLSv1' },
|
||||||
{ value: 'TLSv1.1', label: 'TLSv1.1' },
|
{ value: 'tlsv1.1', label: 'TLSv1.1' },
|
||||||
{ value: 'TLSv1.2', label: 'TLSv1.2' },
|
{ value: 'tlsv1.2', label: 'TLSv1.2' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
required: true,
|
required: true,
|
||||||
@@ -192,7 +192,7 @@ export class AliyunDeployCertToWaf extends AbstractTaskPlugin {
|
|||||||
Redirect: JSON.stringify(redirect),
|
Redirect: JSON.stringify(redirect),
|
||||||
Listen: JSON.stringify(listen),
|
Listen: JSON.stringify(listen),
|
||||||
Domain: siteDomain,
|
Domain: siteDomain,
|
||||||
TLSVersion: this.tlsVersion || 'TLSv1.2',
|
TLSVersion: this.tlsVersion || 'tlsv1.2',
|
||||||
EnableTLSv3: this.enableTLSv3 ?? true,
|
EnableTLSv3: this.enableTLSv3 ?? true,
|
||||||
};
|
};
|
||||||
const res = await client.request('ModifyDomain', updateParams);
|
const res = await client.request('ModifyDomain', updateParams);
|
||||||
|
|||||||
Reference in New Issue
Block a user