-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbncert.xml
577 lines (577 loc) · 35.6 KB
/
bncert.xml
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<project>
<fullName>HTTPS Configuration Tool</fullName>
<version>0.1.0</version>
<shortName>bncert</shortName>
<installerFilename>${product_shortname}-${product_version}-${platform_name}.${platform_exec_suffix}</installerFilename>
<allowComponentSelection>0</allowComponentSelection>
<allowWindowResize>1</allowWindowResize>
<createUninstaller>0</createUninstaller>
<enableSslSupport>1</enableSslSupport>
<enableRollback>0</enableRollback>
<enableDebugger>0</enableDebugger>
<startMenuGroupName></startMenuGroupName>
<windowsExecutableIcon>images/vmtools.ico</windowsExecutableIcon>
<osxApplicationBundleIcon>images/vmtools.icns</osxApplicationBundleIcon>
<logoImage>images/vmtools.png</logoImage>
<leftImage>images/left.png</leftImage>
<height>393</height>
<disableSplashScreen>1</disableSplashScreen>
<!-- The only supported mode (configuring Let's Encrypt certificate) requires to bind to port 80 -->
<requireInstallationByRootUser>1</requireInstallationByRootUser>
<customLanguageFileList>
<language code="en" file="bncert-en.lng"/>
</customLanguageFileList>
<componentList>
<include file="bncert-base-functions.xml"/>
<!-- Functions and rules -->
<include file="bncert-webserver-apache-functions.xml"/>
<include file="bncert-webserver-functions.xml"/>
<include file="bncert-letsencrypt-functions.xml"/>
<include file="bncert-functions.xml"/>
<!-- Parameters for each possible user path -->
<include file="bncert-letsencrypt-mode.xml"/>
<include file="bncert-auto-update.xml"/>
</componentList>
<preInstallationActionList>
<!-- TODO: Support unattended runs -->
<throwError text="Unattended mode is not supported yet. Please use --mode text or --mode gui instead.">
<ruleList>
<compareText text="${installer_ui}" logic="equals" value="unattended"/>
</ruleList>
</throwError>
<!-- For now we will identify each run with a timestamp -->
<createTimeStamp format="%Y%m%d%H%M" variable="current_run_id"/>
<!-- Autodetect installdir only if not provided by the user before -->
<dirName path="${installer_directory}" variable="installer_parent_directory"/>
<autodetectInstalldir paths="${installdir} ${installer_directory} ${installer_parent_directory} /opt/bitnami" variable="installdir"/>
<bncertValidateInstalldir>
<ruleList>
<isTrue value="${valid_installation_found}"/>
</ruleList>
</bncertValidateInstalldir>
<!-- If installdir was properly detected, we can proceed to run the updater and backup the configuration -->
<bncertPostInstalldirActions>
<ruleList>
<isTrue value="${valid_installation_found}"/>
<isTrue value="${valid_webserver}"/>
<isTrue value="${valid_webserver_permissions}"/>
<isTrue value="${valid_webserver_conf}"/>
</ruleList>
</bncertPostInstalldirActions>
<!-- Trim parameters to avoid whitespaces -->
<foreach values="domain" variables="parameterToTrim">
<actionList>
<stringModify text="${${parameterToTrim}}" logic="trim" variable="${parameterToTrim}"/>
</actionList>
<ruleList>
<stringTest text="${${parameterToTrim}}" type="not_empty"/>
</ruleList>
</foreach>
</preInstallationActionList>
<parameterList>
<!-- Directory containing a Bitnami installation -->
<directoryParameter>
<name>installdir</name>
<title>Bitnami installation directory</title>
<explanation>Please type a directory that contains a Bitnami installation. ${platform_message}</explanation>
<description>Bitnami installation directory</description>
<allowEmptyValue>0</allowEmptyValue>
<mustExist>1</mustExist>
<validationActionList>
<!-- Ensure the installdir passes common validations to Bitnami installations -->
<autodetectInstalldir paths="${installdir.unix}" variable="installdir" supportXampp="0"/>
<throwError text="The path does not seem to contain a valid Bitnami installation. Make sure you have proper access rights, or choose a different directory.">
<ruleList>
<isFalse value="${valid_installation_found}"/>
</ruleList>
</throwError>
<bncertValidateInstalldir/>
<!-- Ensure it contains a valid web server -->
<throwError text="${web_servers_supported_message} Make sure you are entering a proper path, or choose a different directory.">
<ruleList>
<isFalse value="${valid_webserver}"/>
</ruleList>
</throwError>
<!-- Ensure the tool is executed with proper permissions -->
<throwError text="Missing read/write permissions to your installation. Make sure you have proper access rights, or choose a different directory.">
<ruleList>
<isFalse value="${valid_webserver_permissions}"/>
</ruleList>
</throwError>
<!-- Ensure the web server configuration tests pass -->
<throwError text="The web server configuration check failed. Please fix the configuration error: ${webserver_conf_error}">
<ruleList>
<isFalse value="${valid_webserver_conf}"/>
</ruleList>
</throwError>
</validationActionList>
<preShowPageActionList>
<populateInstalldirExplanation/>
</preShowPageActionList>
<postShowPageActionList>
<bncertPostInstalldirActions/>
</postShowPageActionList>
<ruleEvaluationLogic>or</ruleEvaluationLogic>
<ruleList>
<isFalse value="${valid_installation_found}"/>
<isFalse value="${valid_webserver}"/>
<isFalse value="${valid_webserver_permissions}"/>
<isFalse value="${valid_webserver_conf}"/>
</ruleList>
</directoryParameter>
<!-- Ask users which action they want to perform -->
<choiceParameter name="action" title="Action to perform" explanation="Please select an action to perform" cliOptionText="Select an action to perform" displayType="radiobuttons" default="create_letsencrypt_certificate">
<optionList>
<option value="create_letsencrypt_certificate" text="Configure a free HTTPS certificate with Let's Encrypt"/>
<!--
<option value="existing_certificate" text="Existing HTTPS certificate"/>
<option value="external_certificate" text="External provider HTTPS certificate (e.g. CloudFlare)"/>
<option value="no_certificate" text="Do not configure any certificate, only web server options"/>
-->
</optionList>
<preShowPageActionList>
<!-- Now that installdir is set, let's make sure it uses Unix format -->
<setInstallerVariable name="installdir" value="${installdir.unix}"/>
</preShowPageActionList>
<!-- TODO: Support more actions -->
<ask>0</ask>
</choiceParameter>
<!-- Domains -->
<parameterGroup name="domains_group" title="Domains" explanation="Please provide a valid space-separated list of domains for which you wish to configure your web server.">
<parameterList>
<labelParameter name="server_name_note" description="The web server name will be configured as the first provided domain name."/>
<labelParameter name="add_missing_domains_note" description="If you provide a non-www domain (e.g. example.com) but not its www subdomain (e.g. www.example.com), it will be added automatically, and viceversa."/>
<stringParameter name="domains" description="Domain list" cliOptionText="List of domains (separated by spaces)"/>
<!-- Parameters hidden to the user -->
<stringParameter name="missing_domains" ask="0"/>
<stringParameter name="all_domains" ask="0"/>
<stringParameter name="server_name" description="Server name">
<ruleList>
<!-- Only show in the CLI options menu -->
<isTrue value="0"/>
</ruleList>
</stringParameter>
</parameterList>
<validationActionList>
<setInstallerVariableFromRegEx name="domains" pattern="[,;\s]+\s*" substitution=" " text="${domains}"/>
<bncertDetectMissingDomains variable="missing_domains" domains="${domains}"/>
<!-- Validate domains -->
<throwError text="Please enter valid domains">
<ruleEvaluationLogic>or</ruleEvaluationLogic>
<ruleList>
<stringTest type="empty" text="${domains}"/>
<regExMatch pattern="^([a-z0-9.-]+\.[a-z]+\s*)+$" logic="does_not_match" text="${domains}"/>
</ruleList>
</throwError>
<throwError text="Domains must have less than 64 characters">
<ruleList>
<regExMatch pattern="[a-z0-9.-]{64}" logic="matches" text="${domains}"/>
</ruleList>
</throwError>
<throwError text="Using domains from services such as xip.io or nip.io are not allowed by this tool. Please enter valid domains.">
<ruleList>
<regExMatch pattern="[0-9].[nx]ip.io(\s|$)" logic="matches" text="${domains}"/>
</ruleList>
</throwError>
<!-- Generate all missing www and non-www domains -->
<showProgressDialog title="Validating domains">
<actionList>
<!-- Validate domain DNS entries -->
<foreach variables="domain" values="${domains}">
<actionList>
<bncertValidateDomain domain="${domain}" progressText="Validating domain '${domain}'"/>
</actionList>
<ruleList>
<isTrue value="${perform_dns_validation}"/>
</ruleList>
</foreach>
</actionList>
</showProgressDialog>
<!-- Check if certificates already exist -->
<!-- IMPORTANT: See https://letsencrypt.org/docs/rate-limits/ -->
<bncertValidateLetsEncryptCertificate>
<ruleList>
<compareText text="${action}" logic="equals" value="create_letsencrypt_certificate"/>
</ruleList>
</bncertValidateLetsEncryptCertificate>
</validationActionList>
<postShowPageActionList>
<setInstallerVariable name="next_page" value="changes_to_perform_group"/>
</postShowPageActionList>
</parameterGroup>
<!-- The below parameter is skipped, but we will return to it if the user rejects the list of proposed changes -->
<parameterGroup name="additional_configuration" title="Additional configuration" explanation="Please select the list of changes you wish to perform on your Bitnami installation.">
<parameterList>
<booleanParameter name="configure_server_name" description="Configure web server name to: ${server_name}" cliOptionText="Configure web server name to match provided value of server name" default="1" displayStyle="checkbox-left">
<ruleList>
<!-- Only show in the CLI options menu -->
<isTrue value="0"/>
</ruleList>
</booleanParameter>
<booleanParameter name="enable_https_redirection" description="Enable HTTP to HTTPS redirection" default="1" displayStyle="checkbox-left"/>
<booleanParameter name="enable_nonwww_to_www_redirection" description="Enable non-www to www redirection" default="1" displayStyle="checkbox-left"/>
<booleanParameter name="enable_www_to_nonwww_redirection" description="Enable www to non-www redirection" default="0" displayStyle="checkbox-left"/>
<booleanParameter name="add_missing_domains" description="Add missing domains: ${missing_domains}" cliOptionText="Add missing domains (e.g. www.example.com if only example.com is specified, and viceversa)" default="1" displayStyle="checkbox-left">
<ruleList>
<stringTest text="${missing_domains}" type="not_empty"/>
</ruleList>
</booleanParameter>
</parameterList>
<preShowPageActionList>
<foreach variables="redirection" values="https nonwww_to_www www_to_nonwww">
<actionList>
<setInstallerVariable name="enable_${redirection}_redirection" value="0"/>
<setInstallerVariable name="parameter(additional_configuration).parameter(enable_${redirection}_redirection).ask" value="0"/>
</actionList>
<ruleList>
<isFalse value="${enable_redirections}"/>
</ruleList>
</foreach>
</preShowPageActionList>
<validationActionList>
<throwError text="You cannot enable both non-www to www and www to non-www redirections at once">
<ruleList>
<isTrue value="${enable_nonwww_to_www_redirection}"/>
<isTrue value="${enable_www_to_nonwww_redirection}"/>
</ruleList>
</throwError>
<throwError text="You can't enable non-www to www redirection without any www domain (e.g. www.example.com)">
<ruleList>
<isFalse value="${add_missing_domains}"/>
<isTrue value="${enable_nonwww_to_www_redirection}"/>
<isWwwDomainProvided list="${domains}" negate="1"/>
</ruleList>
</throwError>
<throwError text="You can't enable www to non-www redirection without any non-www domain (e.g. example.com)">
<ruleList>
<isFalse value="${add_missing_domains}"/>
<isTrue value="${enable_www_to_nonwww_redirection}"/>
<isNonWwwDomainProvided list="${domains}" negate="1"/>
</ruleList>
</throwError>
</validationActionList>
</parameterGroup>
<parameterGroup name="changes_to_perform_group" title="Changes to perform" explanation="The following changes will be performed to your Bitnami installation:">
<parameterList>
<!-- This parameter is populated in bncertPopulateChanges -->
<infoParameter name="changes_to_perform_text">
<ruleList>
<compareText text="${installer_ui}" logic="equals" value="gui"/>
</ruleList>
</infoParameter>
<labelParameter name="changes_to_perform_label" description="${changes_to_perform_text}">
<ruleList>
<compareText text="${installer_ui}" logic="does_not_equal" value="gui"/>
</ruleList>
</labelParameter>
<booleanParameter name="agree_to_changes" description="Do you agree to these changes?" explanation="You can modify the list of changes to perform if you select 'No'" default="1" cliOptionShow="0"/>
</parameterList>
<preShowPageActionList>
<!-- Reset the page contents -->
<setInstallerVariable name="back_page" value="domains_group"/>
<setInstallerVariable name="agree_to_changes" value="1"/>
<!-- Add missing domains if option enabled (e.g. add www.example.com if only example.com was specified) -->
<setInstallerVariable name="all_domains" value="${domains}"/>
<setInstallerVariable name="all_domains" value="${all_domains} ${missing_domains}">
<ruleList>
<isTrue value="${add_missing_domains}"/>
</ruleList>
</setInstallerVariable>
<!-- If there are no options to show in the next page, don't show it at all -->
<actionGroup>
<actionList>
<setInstallerVariable name="parameter(changes_to_perform_group).parameter(agree_to_changes).ask" value="0"/>
<setInstallerVariable name="agree_to_changes" value="1"/>
</actionList>
<ruleList>
<isFalse value="${enable_redirections}"/>
<ruleGroup>
<ruleEvaluationLogic>or</ruleEvaluationLogic>
<ruleList>
<isFalse value="${parameter(additional_configuration).parameter(add_missing_domains).ask}"/>
<stringTest text="${missing_domains}" type="empty"/>
</ruleList>
</ruleGroup>
</ruleList>
</actionGroup>
<!-- Now we have a chance to configure default parameter values and actions to perform for the current mode -->
<baseGetFirstElement list="${domains}" variable="server_name">
<ruleList>
<!-- Allow users to customize the value as CLI option -->
<stringTest text="${server_name}" type="empty"/>
</ruleList>
</baseGetFirstElement>
<!-- Update the info in this page -->
<setInstallerVariable name="changes_to_perform_metadata" value=""/>
<bncertAddLetsEncryptModeChanges>
<ruleList>
<compareText text="${action}" logic="equals" value="create_letsencrypt_certificate"/>
</ruleList>
</bncertAddLetsEncryptModeChanges>
<bncertAddCommonChangesToPerform/>
<bncertPopulateChangesToPerform/>
</preShowPageActionList>
<validationActionList>
<!-- If the next page is not shown, require users to confirm before making changes -->
<showInfo text="The changes above will be performed.">
<ruleList>
<isFalse value="${enable_redirections}"/>
<compareText text="${installer_ui}" logic="does_not_equal" value="gui"/>
<stringTest text="${missing_domains}" type="empty"/>
</ruleList>
</showInfo>
<showProgressDialog title="Performing validations">
<actionList>
<!-- Validate domain DNS entries -->
<!-- This time we also validate automatically added domains (e.g. www.example.com if only example.com was added) -->
<foreach variables="domain" values="${all_domains}">
<actionList>
<bncertValidateDomain domain="${domain}" progressText="Validating domain '${domain}'"/>
</actionList>
<ruleList>
<isTrue value="${perform_dns_validation}"/>
</ruleList>
</foreach>
<!-- We stop the web server at this point, in order to verify we can proceed with the setup -->
<bncertStopWebServer webServerName="${web_server_name}" progressText="Stopping web server">
<ruleList>
<isTrue value="${manage_services}"/>
<isFalse value="${dry_run}"/>
</ruleList>
</bncertStopWebServer>
</actionList>
<ruleList>
<isTrue value="${agree_to_changes}"/>
</ruleList>
</showProgressDialog>
</validationActionList>
<postShowPageActionList>
<!-- Force users to have privileges if needed -->
<throwError text="Cannot bind to port 80 and/or 443. These ports are used for Let's Encrypt to verify the domain DNS configuration. Please stop any services using those ports, and ensure your system user has permissions to bind to them.">
<ruleList>
<isTrue value="${agree_to_changes}"/>
<compareText text="${action}" logic="equals" value="create_letsencrypt_certificate"/>
<ruleGroup>
<ruleEvaluationLogic>or</ruleEvaluationLogic>
<ruleList>
<portTest port="80" condition="cannot_bind"/>
<portTest port="443" condition="cannot_bind"/>
</ruleList>
</ruleGroup>
</ruleList>
</throwError>
<!-- Store the original next page here, as we will change it depending on user input -->
<setInstallerVariable name="changes_to_perform_next_page" value="${next_page}">
<ruleList>
<stringTest text="${changes_to_perform_next_page}" type="empty"/>
</ruleList>
</setInstallerVariable>
<if>
<conditionRuleList>
<isTrue value="${agree_to_changes}"/>
</conditionRuleList>
<actionList>
<setInstallerVariable name="next_page" value="${changes_to_perform_next_page}"/>
</actionList>
<elseActionList>
<setInstallerVariable name="next_page" value="additional_configuration"/>
</elseActionList>
</if>
</postShowPageActionList>
</parameterGroup>
<parameterGroup name="perform_actions" title="Performing changes to your installation" explanation="The ${project.fullName} will perform any necessary actions to your Bitnami installation. This may take some time, please be patient.">
<postShowPageActionList>
<actionGroup>
<actionList>
<setInstallerVariable name="report_aborted" value="0"/>
<!-- We will perform changes that are most likely to break the sooner the possible -->
<!-- This way we avoid the installation being modified if an error occurs and the user cancels -->
<bncertPerformActionsForLetsEncryptMode>
<ruleList>
<isFalse value="${report_aborted}"/>
<compareText text="${action}" logic="equals" value="create_letsencrypt_certificate"/>
</ruleList>
</bncertPerformActionsForLetsEncryptMode>
<!-- Common actions: Server configuration and redirections -->
<showProgressDialog title="Performing common actions">
<actionList>
<bncertConfigureServerName serverName="${server_name}" progressText="Configuring server name">
<ruleList>
<isTrue value="${configure_server_name}"/>
</ruleList>
</bncertConfigureServerName>
<!-- Redirections -->
<actionGroup>
<actionList>
<!-- Disable redirections first -->
<bncertDisableHttpsRedirection progressText="Disabling HTTP to HTTPS redirection">
<ruleList>
<isFalse value="${enable_https_redirection}"/>
</ruleList>
</bncertDisableHttpsRedirection>
<bncertDisableNonWwwToWwwRedirection progressText="Disabling non-www to www redirection">
<ruleList>
<isFalse value="${enable_nonwww_to_www_redirection}"/>
</ruleList>
</bncertDisableNonWwwToWwwRedirection>
<bncertDisableWwwToNonWwwRedirection progressText="Disabling www to non-www redirection">
<ruleList>
<isFalse value="${enable_www_to_nonwww_redirection}"/>
</ruleList>
</bncertDisableWwwToNonWwwRedirection>
<!-- Enable redirections -->
<bncertEnableHttpsRedirection progressText="Enabling HTTP to HTTPS redirection">
<ruleList>
<isTrue value="${enable_https_redirection}"/>
</ruleList>
</bncertEnableHttpsRedirection>
<bncertEnableNonWwwToWwwRedirection progressText="Enabling non-www to www redirection">
<ruleList>
<isTrue value="${enable_nonwww_to_www_redirection}"/>
</ruleList>
</bncertEnableNonWwwToWwwRedirection>
<bncertEnableWwwToNonWwwRedirection progressText="Enabling www to non-www redirection">
<ruleList>
<isTrue value="${enable_www_to_nonwww_redirection}"/>
</ruleList>
</bncertEnableWwwToNonWwwRedirection>
</actionList>
<ruleList>
<isTrue value="${enable_redirections}"/>
</ruleList>
</actionGroup>
<!-- Test web servers once configured, then start or restore configuration in case of failure -->
<if progressText="Testing web server configuration">
<conditionRuleList>
<bncertIsWebServerConfigurationValid/>
</conditionRuleList>
<actionList>
<bncertStartWebServer abortOnError="0" webServerName="${web_server_name}" progressText="Starting web server">
<ruleList>
<isTrue value="${manage_services}"/>
</ruleList>
</bncertStartWebServer>
<setInstallerVariable name="requires_restoring" value="0"/>
</actionList>
<elseActionList>
<setInstallerVariable name="report_failures_metadata" value="${report_failures_metadata} "Start web server: Configuration changes to the web server caused it to fail""/>
<setInstallerVariable name="report_aborted" value="1"/>
</elseActionList>
</if>
<!-- Check if the web server started -->
<actionGroup progressText="Checking web server started">
<actionList>
<setInstallerVariable name="report_failures_metadata" value="${report_failures_metadata} "Starting web server: Failed to start""/>
<setInstallerVariable name="report_aborted" value="1"/>
</actionList>
<ruleList>
<isFalse value="${report_aborted}"/>
<isServiceRunning service="${web_server_name}" negate="1"/>
</ruleList>
</actionGroup>
<!-- Let's Encrypt mode checks -->
<bncertPerformFinalChecksForLetsEncryptMode>
<ruleList>
<isFalse value="${report_aborted}"/>
<compareText text="${action}" logic="equals" value="create_letsencrypt_certificate"/>
</ruleList>
</bncertPerformFinalChecksForLetsEncryptMode>
</actionList>
<ruleList>
<isFalse value="${report_aborted}"/>
</ruleList>
</showProgressDialog>
<bncertAbortActions>
<ruleList>
<isTrue value="${report_aborted}"/>
</ruleList>
</bncertAbortActions>
</actionList>
<ruleList>
<isFalse value="${dry_run}"/>
</ruleList>
</actionGroup>
</postShowPageActionList>
</parameterGroup>
<!-- Custom final page parameter, which allows us to include info and links -->
<parameterGroup name="custom_final_page" title="Success" explanation="The ${project.fullName} succeeded in modifying your installation.">
<parameterList>
<!-- Errors that occurred during configuration and additional notes will be added here -->
<infoParameter name="report_text" explanation="The configuration report is shown below."/>
<linkParameter name="bitnami_support_link" description="${bitnami_support_url}" explanation="If you find any issues, please check Bitnami Support forums at:">
<clickedActionList>
<launchBrowser url="${bitnami_support_url}">
<ruleList>
<compareText text="${installer_ui}" logic="equals" value="gui"/>
</ruleList>
</launchBrowser>
</clickedActionList>
<ruleList>
<compareText text="${installer_ui}" logic="equals" value="gui"/>
</ruleList>
</linkParameter>
<!-- Parameters hidden to the user -->
<stringParameter name="report_failures_metadata" value="" ask="0" cliOptionShow="0"/>
<stringParameter name="report_nonreversible_metadata" value="" ask="0" cliOptionShow="0"/>
<booleanParameter name="report_aborted" value="0" ask="0" cliOptionShow="0"/>
</parameterList>
<preShowPageActionList>
<bncertPopulateReport/>
<setInstallerVariable name="back_page" value="custom_final_page"/>
<setInstallerVariable name="ui.button(next).text" value="${msg(Installer.Button.Finish)}"/>
</preShowPageActionList>
<postShowPageActionList>
<exit/>
</postShowPageActionList>
</parameterGroup>
<!-- The parameters below will not be shown to users -->
<!-- Constants -->
<stringParameter name="bitnami_docs_url" value="https://docs.bitnami.com" ask="0"/>
<stringParameter name="bitnami_support_url" value="https://community.bitnami.com" ask="0"/>
<!-- Metadata parameters (set during build-time or pre-install time) -->
<stringParameter name="current_run_id" ask="0"/>
<!-- State parameters -->
<stringParameter name="restore_metadata" ask="0"/>
<booleanParameter name="requires_restoring" value="0" ask="0"/>
<stringParameter name="varnish_enabled" value="0" ask="0"/>
<stringParameter name="machine_public_ipaddr" ask="0"/>
<stringParameter name="changes_to_perform_next_page" ask="0"/>
<stringParameter name="changes_to_perform_metadata" ask="0"/>
<booleanParameter name="valid_installation_found" ask="0"/>
<booleanParameter name="valid_webserver" ask="0"/>
<booleanParameter name="valid_webserver_permissions" ask="0"/>
<booleanParameter name="valid_webserver_conf" ask="0"/>
<stringParameter name="webserver_conf_error" ask="0"/>
<booleanParameter name="enable_redirections" ask="0"/>
<choiceParameter name="installation_type" ask="0">
<optionList>
<!-- There are basic differences for things such as managing services, folder names, etc. -->
<option value="installer"/>
<option value="nami"/>
</optionList>
</choiceParameter>
<!-- Modifiers -->
<booleanParameter name="dry_run" description="Perform a dry run" default="0"/>
<booleanParameter name="use_staging" description="Use Let's Encrypt staging server" default="0"/>
<booleanParameter name="perform_public_ip_validation" description="Perform public IP address validation" default="1" ask="0"/>
<booleanParameter name="perform_dns_validation" description="Perform DNS validation" default="1" ask="0"/>
<booleanParameter name="manage_services" description="Stop and start services when needed" default="1" ask="0"/>
<!-- Web server configuration -->
<stringParameter name="web_servers_supported_message" ask="0"/>
<stringParameter name="web_server_name" ask="0"/>
<stringParameter name="web_server_dirname" ask="0"/>
<stringParameter name="web_server_fullname" ask="0"/>
<stringParameter name="web_server_reload_command" ask="0"/>
<directoryParameter name="web_server_dir" ask="0"/>
<directoryParameter name="web_server_conf_dir" ask="0"/>
</parameterList>
<installationAbortedActionList>
<!-- Restore the configuration if a failure occurred -->
<bncertAbortActions>
<ruleList>
<isTrue value="${requires_restoring}"/>
<isFalse value="${dry_run}"/>
</ruleList>
</bncertAbortActions>
</installationAbortedActionList>
</project>