Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/bootstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if [[ -z /startup/setup-platform.py ]]; then
exit 1
fi

export PYTHONPATH=$PYTHONPATH:$VOLTTRON_ROOT

echo "Before platform setup, print environment."
printenv

Expand Down
3 changes: 3 additions & 0 deletions core/setup-platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ def _create_platform_config_file(platform_cfg, cfg_path):


def _create_certs(cfg_path, platform_cfg):
if not platform_cfg.get("bind-web-address", "").startswith("https://"):
print("Web address is not set to use SSL. Skipping certificate creation.")
return
print("Creating CA Certificate...")
# We need to import Certs here because we Certs depends on zmq, which only gets installed after _install_required_deps() is executed.
# If we put this import statement at the top of the module, we will run into an import error because zmq gets
Expand Down
Loading