-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy path20-certs_update.rb
More file actions
34 lines (34 loc) · 987 Bytes
/
20-certs_update.rb
File metadata and controls
34 lines (34 loc) · 987 Bytes
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
# Add options around regenerating certificates
app_option(
'--certs-update-server',
:flag,
"This option will enforce an update of the HTTPS certificates",
:default => false
)
app_option(
'--certs-update-server-ca',
:flag,
"This option will enforce an update of the CA used for HTTPS certificates.",
:default => false
)
app_option(
'--certs-update-all',
:flag,
"This option will enforce an update of all the certificates for given host",
:default => false
)
app_option(
'--certs-reset',
:flag,
"This option will reset any custom certificates and use the self-signed CA " \
"instead. Note that any clients will need to be updated with the latest " \
"katello-ca-consumer RPM, and any external proxies will need to have the " \
"certs updated by generating a new certs tarball.",
:default => false
)
app_option(
'--certs-skip-check',
:flag,
"This option will cause skipping the certificates sanity check. Use with caution",
:default => false
)