ca
This commit is contained in:
parent
f92d49fe82
commit
51566a57b0
1 changed files with 11 additions and 9 deletions
|
@ -1046,13 +1046,13 @@ spcd_packages_install_tools() {
|
||||||
# │ steps │ ca │
|
# │ steps │ ca │
|
||||||
# ╰───────┴────╯
|
# ╰───────┴────╯
|
||||||
|
|
||||||
spcd_install_ca_certificates() {
|
spcd_ca_install_package() {
|
||||||
spcd_step "Install CA"
|
spcd_step "Install package"
|
||||||
spcd_install_package "${SPCD_PKG_CA}"
|
spcd_install_package "${SPCD_PKG_CA}"
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_write_ca_certificates() {
|
spcd_ca_write_certificates() {
|
||||||
spcd_step "Write CA certificates"
|
spcd_step "Write certificates"
|
||||||
spcd_os_mkdir "${SPCD_CA_ROOT}"
|
spcd_os_mkdir "${SPCD_CA_ROOT}"
|
||||||
while true; do
|
while true; do
|
||||||
spcd_wcc__index=$((spcd_wcc__index + 1))
|
spcd_wcc__index=$((spcd_wcc__index + 1))
|
||||||
|
@ -1065,8 +1065,8 @@ spcd_write_ca_certificates() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_update_ca_certificates() {
|
spcd_ca_update_certificates() {
|
||||||
spcd_step "Update CA certificates"
|
spcd_step "Update certificates"
|
||||||
${SPCD_CMD_CA}
|
${SPCD_CMD_CA}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1265,9 +1265,11 @@ spcd_main() {
|
||||||
spcd_packages_install_tools
|
spcd_packages_install_tools
|
||||||
spcd_step_out
|
spcd_step_out
|
||||||
# ca
|
# ca
|
||||||
spcd_install_ca_certificates
|
spcd_step_in "CA"
|
||||||
spcd_write_ca_certificates
|
spcd_ca_install_package
|
||||||
spcd_update_ca_certificates
|
spcd_ca_write_certificates
|
||||||
|
spcd_ca_update_certificates
|
||||||
|
spcd_step_out
|
||||||
# packages
|
# packages
|
||||||
spcd_step_in "Packages"
|
spcd_step_in "Packages"
|
||||||
spcd_packages_verify_https
|
spcd_packages_verify_https
|
||||||
|
|
Loading…
Reference in a new issue