Add CA hash sidecar for onboarding
This commit is contained in:
@@ -235,6 +235,7 @@ prep_image() {
|
||||
clean_file /etc/pikit/certs/pikit.local.key
|
||||
clean_file /etc/pikit/certs/pikit.local.csr
|
||||
clean_file /var/www/pikit-web/assets/pikit-ca.crt
|
||||
clean_file /var/www/pikit-web/assets/pikit-ca.sha256
|
||||
|
||||
# --- Backup/editor cruft ---
|
||||
clean_backups /var/www/pikit-web
|
||||
@@ -515,6 +516,7 @@ check_image() {
|
||||
check_file_missing /etc/pikit/certs/pikit.local.crt
|
||||
check_file_missing /etc/pikit/certs/pikit.local.key
|
||||
check_file_missing /var/www/pikit-web/assets/pikit-ca.crt
|
||||
check_file_missing /var/www/pikit-web/assets/pikit-ca.sha256
|
||||
|
||||
section "Logs"
|
||||
if [ -d /var/log ]; then
|
||||
|
||||
Reference in New Issue
Block a user