Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure ssl ca -- setup ssl_sa for developer #211

Merged
merged 2 commits into from
Dec 11, 2023
Merged

Conversation

manojdbos
Copy link
Contributor

No description provided.

@@ -42,9 +43,18 @@ export async function configureApp(host: string, port: string, dbName: string) {
return;
}

try {
// Should we just download and keep the file in the dir instead of downloading everytime ??
Copy link
Member

@kraftp kraftp Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do an "if file not exists" check here to fix this issue.

Copy link
Contributor Author

@manojdbos manojdbos Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issue if the file exists. We just overwrite it. No big deal. My question was -- should we keep the file in the examples/hello so we never make the rest call ? The downside is that if they change the cert chain , then the file we have might be out of date.

Copy link
Member

@kraftp kraftp Dec 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I see, I don't think we should keep the file in the repository, downloading it is fine as you said

@manojdbos manojdbos merged commit 2e686c4 into main Dec 11, 2023
2 checks passed
@manojdbos manojdbos deleted the configure-ssl-ca branch December 11, 2023 16:14
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.

2 participants