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

feat(tls): add configuration options for supplying bare TLS server key #507

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

andrewazores
Copy link
Member

Based on #491
See #491 (review)

On a side note, would it be possible to add a key options for the web server in addition to the existing keystore options, similar to what you've done here for client-auth? It would make it easier to configure HTTPS for the server.

@github-actions github-actions bot added the needs-triage Needs thorough attention from code reviewers label Oct 4, 2024
@andrewazores andrewazores added feat New feature or request safe-to-test and removed needs-triage Needs thorough attention from code reviewers labels Oct 4, 2024
@andrewazores
Copy link
Member Author

andrewazores commented Oct 4, 2024

I tried to mimic the "bare key file" approach that I did for client authentication, but hook it in to the existing webserver HTTPS setup. The keystore file can be provided alone, or the bare key can be provided alone in which case a new empty keystore is generated to contain it. If both are specified then the keystore file will be loaded, then the additional bare key will be inserted into it. I haven't actually tested this yet.

@andrewazores andrewazores marked this pull request as ready for review October 23, 2024 14:46
@andrewazores andrewazores merged commit 2aa4989 into cryostatio:main Oct 23, 2024
9 checks passed
@andrewazores andrewazores deleted the tls-server-key branch October 23, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request safe-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants