Skip to content

Fix ssl/create_ca_cert.sh all_exist check#411

Open
maizi-liao wants to merge 1 commit into
canonical:mainfrom
maizi-liao:main
Open

Fix ssl/create_ca_cert.sh all_exist check#411
maizi-liao wants to merge 1 commit into
canonical:mainfrom
maizi-liao:main

Conversation

@maizi-liao

Copy link
Copy Markdown

Summary

Fix the existing SSL certificate detection logic in ssl/create_ca_cert.sh.

The previous condition always broke out of the loop after checking the first required file. This meant the script could incorrectly reuse existing certificates when only cacert.pem was present and other required files were missing.

Changes

Group the missing-file branch with { all_exist=false; break; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant