-
Notifications
You must be signed in to change notification settings - Fork 1
/
qualys-ssllabs-aplus.yaml
166 lines (161 loc) · 4.63 KB
/
qualys-ssllabs-aplus.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
name: qualys-ssllabs-aplus
namespace: com.citrix.adc.stylebooks
version: "1.0"
display-name: "Qualys SSL LABS A+ SSL Configuration"
description: "This stylebook configures a Front-end SSL Profile with the settings and ciphers necessary to obtain an A+ rating with Qualys SSL Labs Scan"
schema-version: "1.0"
import-stylebooks:
-
namespace: netscaler.nitro.config
prefix: ns
version: "12.0"
-
namespace: com.citrix.adc.commontypes
prefix: cmtypes
version: "1.0"
-
namespace: com.citrix.adc.stylebooks
prefix: stlb
version: "1.0"
parameters:
-
name: sslprofilename
label: "Qualys A+ SSL Profile Name"
description: "Name of the SSL Profile"
type: string
key: true
gui:
updatable: true
required: true
-
name: ssl-config
label: SSL Parameters Config Section
type: object
gui:
collapse_pane: true
parameters:
-
name: ssl-cipher-suites
label: SSL Ciphers
type: string[]
allowed-values:
- TLS1.3-AES128-GCM-SHA256
- TLS1.3-AES256-GCM-SHA384
- TLS1.2-ECDHE-ECDSA-AES256-SHA384
- TLS1.2-ECDHE-ECDSA-AES256-GCM-SHA384
- TLS1.2-DHE-RSA-AES256-GCM-SHA384
- TLS1.2-ECDHE-ECDSA-AES128-GCM-SHA256
- TLS1.2-ECDHE-RSA-CHACHA20-POLY1305
- TLS1.2-ECDHE-ECDSA-CHACHA20-POLY1305
- TLS1.2-ECDHE-RSA-AES256-GCM-SHA384
required: true
-
name: ssl-protocols
label: Allowed SSL Protocols
description: "Which SSL Protocols should be allowed"
type: object
parameters:
-
name: tls11
label: TLS 1.1
type: boolean
default: false
-
name: tls12
label: TLS 1.2
type: boolean
default: true
-
name: tls13
label: TLS 1.3
type: boolean
default: true
substitutions:
tls11-selection:
true: "ENABLED"
false: "DISABLED"
tls12-selection:
true: "ENABLED"
false: "DISABLED"
tls13-selection:
true: "ENABLED"
false: "DISABLED"
components:
-
name: ssl-profile-comp
type: ns::sslprofile
properties:
cipherpriority: "0"
cipherredirect: "DISABLED"
cleartextport: 0
clientauth: "DISABLED"
clientauthuseboundcachain: "DISABLED"
denysslreneg: "NONSECURE"
dh: "DISABLED"
dhcount: "0"
dhekeyexchangewithpsk: "NO"
dhkeyexpsizelimit: "DISABLED"
dropreqwithnohostheader: "NO"
encrypttriggerpktcount: "45"
ersa: "ENABLED"
ersacount: "0"
feature: "SYSTEM"
hsts: "ENABLED"
includesubdomains: "YES"
insertionencoding: "Unicode"
invoke: false
maxage: "157680000"
name: $parameters.sslprofilename
nonfipsciphers: "DISABLED"
ocspstapling: "DISABLED"
preload: "YES"
prevsessionkeylifetime: "0"
pushenctrigger: "Always"
pushenctriggertimeout: "1"
pushflag: "0"
quantumsize: "8192"
redirectportrewrite: "DISABLED"
sendclosenotify: "YES"
serverauth: "DISABLED"
service: "0"
sessionkeylifetime: "3000"
sessionticket: "DISABLED"
sessionticketkeyrefresh: "ENABLED"
sessionticketlifetime: "300"
sessreuse: "ENABLED"
sesstimeout: "120"
skipcaname: false
skipclientcertpolicycheck: "DISABLED"
snicert: false
snienable: "DISABLED"
snihttphostmatch: "CERT"
ssl3: "DISABLED"
sslimaxsessperserver: "10"
sslinterception: "DISABLED"
ssliocspcheck: "DISABLED"
sslireneg: "DISABLED"
ssliverifyservercertforreuse: "ENABLED"
ssllogprofile: "SSL_Log"
sslpfobjecttype: "0"
sslprofiletype: "FrontEnd"
sslredirect: "ENABLED"
ssltriggertimeout: "100"
strictcachecks: "NO"
strictsigdigestcheck: "DISABLED"
tls1: "DISABLED"
tls11: $substitutions.tls11-selection[$parameters.tls11]
tls12: $substitutions.tls11-selection[$parameters.tls12]
tls13: $substitutions.tls11-selection[$parameters.tls13]
tls13sessionticketsperauthcontext: "1"
zerorttearlydata: "DISABLED"
-
name: sslprofile-sslcipher-binding-comp
type: ns::sslprofile_sslcipher_binding
properties:
name?: $parameters.name
#name: $parameters.name
ciphername?: $parameters.ssl-cipher-suites
cipherpriority?: $parameters.cipherpriority
outputs:
-