Certificate paths in Stork 2.6

Prev Next

The directory and file names the Stork agent uses for TLS certificates was changed in 2.6.0, without handling existing installations. This results in the Stork agent failing to start after an upgrade. A workaround is to copy the files from the old location to the new, and rename the files in the new location.

Old New
/var/lib/stork-agent/certs/ca.pem /var/lib/stork-agent/root-cert.pem
/var/lib/stork-agent/certs/cert.pem /var/lib/stork-agent/server-cert.pem
/var/lib/stork-agent/certs/key.pem /var/lib/stork-agent/server-key.pem
/var/lib/stork-agent/tokens/agent-token.txt /var/lib/stork-agent/token.txt
/var/lib/stork-agent/tokens/server-cert.sha256 /var/lib/stork-agent/server-cert.sha256