|
1095 | 1095 | "type": "Microsoft.Common.TextBlock", |
1096 | 1096 | "visible": "[steps('section_appGateway').appgwIngress.enableAppGateway]", |
1097 | 1097 | "options": { |
1098 | | - "text": " ⁃ Generate a self-signed certificate: generate a self-signed certificate and apply it during deployment.", |
| 1098 | + "text": " ⁃ Generate a self-signed frontend certificate: generate a self-signed frontend certificate and apply it during deployment.", |
1099 | 1099 | "link": { |
1100 | 1100 | "label": "Learn more", |
1101 | 1101 | "uri": "https://aka.ms/arm-oraclelinux-wls-cluster-app-gateway-key-vault" |
|
1106 | 1106 | "name": "certificateOption", |
1107 | 1107 | "type": "Microsoft.Common.OptionsGroup", |
1108 | 1108 | "label": "Select desired TLS/SSL certificate option", |
1109 | | - "defaultValue": "Generate a self-signed certificate", |
| 1109 | + "defaultValue": "Upload a TLS/SSL certificate", |
1110 | 1110 | "toolTip": "Select desired TLS/SSL certificate option", |
1111 | 1111 | "constraints": { |
1112 | 1112 | "allowedValues": [ |
|
1119 | 1119 | "value": "haveKeyVault" |
1120 | 1120 | }, |
1121 | 1121 | { |
1122 | | - "label": "Generate a self-signed certificate", |
| 1122 | + "label": "Generate a self-signed frontend certificate", |
1123 | 1123 | "value": "generateCert" |
1124 | 1124 | } |
1125 | 1125 | ], |
|
1130 | 1130 | { |
1131 | 1131 | "name": "keyVaultSSLCertData", |
1132 | 1132 | "type": "Microsoft.Common.FileUpload", |
1133 | | - "label": "TLS/SSL certificate(.pfx)", |
| 1133 | + "label": "Frontend TLS/SSL certificate(.pfx)", |
1134 | 1134 | "toolTip": "TLS/SSL certificate used for App Gateway", |
1135 | 1135 | "constraints": { |
1136 | 1136 | "required": true, |
|
1150 | 1150 | "password": "Password", |
1151 | 1151 | "confirmPassword": "Confirm password" |
1152 | 1152 | }, |
1153 | | - "toolTip": "TLS/SSL certificate password", |
| 1153 | + "toolTip": "Frontend TLS/SSL certificate password", |
1154 | 1154 | "constraints": { |
1155 | 1155 | "required": "[equals(steps('section_appGateway').appgwIngress.certificateOption, 'haveCert')]", |
1156 | 1156 | "regex": "^((?=.*[0-9])(?=.*[a-z])|(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])|(?=.*[0-9])(?=.*[a-z])(?=.*[!@#$%^&*])|(?=.*[0-9])(?=.*[A-Z])(?=.*[!@#$%^&*])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*])).{6,128}$", |
|
1161 | 1161 | }, |
1162 | 1162 | "visible": "[equals(steps('section_appGateway').appgwIngress.certificateOption, 'haveCert')]" |
1163 | 1163 | }, |
| 1164 | + { |
| 1165 | + "name": "keyVaultBackendSSLCertData", |
| 1166 | + "type": "Microsoft.Common.FileUpload", |
| 1167 | + "label": "Trusted root certificate(.cer, cert)", |
| 1168 | + "toolTip": "Trusted root certificate (CA certificate) used to set up end to end TLS/SSL", |
| 1169 | + "constraints": { |
| 1170 | + "required": true, |
| 1171 | + "accept": ".cer, cert" |
| 1172 | + }, |
| 1173 | + "options": { |
| 1174 | + "multiple": false, |
| 1175 | + "uploadMode": "file", |
| 1176 | + "openMode": "binary" |
| 1177 | + }, |
| 1178 | + "visible": "[and(steps('section_appGateway').appgwIngress.enableAppGateway, steps('section_sslConfiguration').enableCustomSSL, not(equals(steps('section_appGateway').appgwIngress.certificateOption, 'haveKeyVault')))]" |
| 1179 | + }, |
1164 | 1180 | { |
1165 | 1181 | "name": "keyVaultResourceGroup", |
1166 | 1182 | "type": "Microsoft.Common.TextBox", |
|
1190 | 1206 | { |
1191 | 1207 | "name": "keyVaultSSLCertDataSecretName", |
1192 | 1208 | "type": "Microsoft.Common.TextBox", |
1193 | | - "label": "The name of the secret in the specified Key Vault whose value is the TLS/SSL certificate data", |
| 1209 | + "label": "The name of the secret in the specified Key Vault whose value is the frontend TLS/SSL certificate data", |
1194 | 1210 | "defaultValue": "", |
1195 | 1211 | "toolTip": "Use only letters and numbers", |
1196 | 1212 | "constraints": { |
|
1203 | 1219 | { |
1204 | 1220 | "name": "keyVaultSSLCertPasswordSecretName", |
1205 | 1221 | "type": "Microsoft.Common.TextBox", |
1206 | | - "label": "The name of the secret in the specified Key Vault whose value is the password for the TLS/SSL certificate", |
| 1222 | + "label": "The name of the secret in the specified Key Vault whose value is the password for the frontend TLS/SSL certificate", |
1207 | 1223 | "defaultValue": "", |
1208 | 1224 | "toolTip": "Use only letters and numbers", |
1209 | 1225 | "constraints": { |
|
1213 | 1229 | }, |
1214 | 1230 | "visible": "[equals(steps('section_appGateway').appgwIngress.certificateOption, 'haveKeyVault')]" |
1215 | 1231 | }, |
| 1232 | + { |
| 1233 | + "name": "keyVaultBackendSSLCertDataSecretName", |
| 1234 | + "type": "Microsoft.Common.TextBox", |
| 1235 | + "label": "The name of the secret in the specified Key Vault whose value is the trusted root certificate data", |
| 1236 | + "defaultValue": "", |
| 1237 | + "toolTip": "Use only letters and numbers", |
| 1238 | + "constraints": { |
| 1239 | + "required": true, |
| 1240 | + "regex": "^[a-z0-9A-Z]{1,30}$", |
| 1241 | + "validationMessage": "The value must be 1-30 characters long and must only contain letters and numbers." |
| 1242 | + }, |
| 1243 | + "visible": "[and(steps('section_sslConfiguration').enableCustomSSL, equals(steps('section_appGateway').appgwIngress.certificateOption, 'haveKeyVault'))]" |
| 1244 | + }, |
1216 | 1245 | { |
1217 | 1246 | "name": "servicePrincipal", |
1218 | 1247 | "type": "Microsoft.Common.PasswordBox", |
|
1533 | 1562 | "aksClusterName": "[last(split(steps('section_aks').clusterInfo.aksClusterSelector.id, '/'))]", |
1534 | 1563 | "aksClusterRGName": "[last(take(split(steps('section_aks').clusterInfo.aksClusterSelector.id, '/'), 5))]", |
1535 | 1564 | "appGatewayCertificateOption": "[steps('section_appGateway').appgwIngress.certificateOption]", |
| 1565 | + "appGatewaySSLBackendRootCertData": "[steps('section_appGateway').appgwIngress.keyVaultBackendSSLCertData]", |
1536 | 1566 | "appGatewaySSLCertData": "[steps('section_appGateway').appgwIngress.keyVaultSSLCertData]", |
1537 | 1567 | "appGatewaySSLCertPassword": "[steps('section_appGateway').appgwIngress.appGatewaySSLCertPassword]", |
1538 | 1568 | "appgwForAdminServer": "[steps('section_appGateway').appgwIngress.appgwForAdminServer]", |
|
1563 | 1593 | "location": "[location()]", |
1564 | 1594 | "keyVaultName": "[steps('section_appGateway').appgwIngress.keyVaultName]", |
1565 | 1595 | "keyVaultResourceGroup": "[steps('section_appGateway').appgwIngress.keyVaultResourceGroup]", |
| 1596 | + "keyVaultSSLBackendRootCertDataSecretName": "[steps('section_appGateway').appgwIngress.keyVaultBackendSSLCertDataSecretName]", |
1566 | 1597 | "keyVaultSSLCertDataSecretName": "[steps('section_appGateway').appgwIngress.keyVaultSSLCertDataSecretName]", |
1567 | 1598 | "keyVaultSSLCertPasswordSecretName": "[steps('section_appGateway').appgwIngress.keyVaultSSLCertPasswordSecretName]", |
1568 | 1599 | "managedServerPrefix": "[basics('basicsOptional').managedServerPrefix]", |
|
0 commit comments