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

support https in all server types #47

Merged
merged 11 commits into from
Jun 13, 2021
Merged

support https in all server types #47

merged 11 commits into from
Jun 13, 2021

Conversation

tommytroen
Copy link
Collaborator

  • enables HTTPS on the mock-oauth2-server if specified on the server types:
    • MockWebServer
    • Netty
  • bring your own keystore or let the server generate one for you

tommytroen added 10 commits May 27, 2021 22:55
* enabled by providing Tls constructor param with external keystore
* enabled by providing Tls constructor param with external keystore
* introduce BouncyCastle for cert generation
* allow to byo keystore or generate
* make Ssl non-private in order to retrieve the keystore when testing against the generated server cert
@tommytroen tommytroen requested a review from a team as a code owner June 8, 2021 19:42
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Scan Summary

Tool Critical High Medium Low Status
Dependency Scan (java) 0 0 1 1
Dependency Scan (kotlin) 0 0 1 1
Secrets Audit 0 1 0 0
Kotlin Static Analysis 0 0 4 0

Recommendation

Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍

Copy link
Contributor

@jksolbakken jksolbakken left a comment

Choose a reason for hiding this comment

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

🚢

@tommytroen tommytroen merged commit 66e7569 into master Jun 13, 2021
@tommytroen tommytroen deleted the support_https branch June 13, 2021 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request security findings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants