-
Notifications
You must be signed in to change notification settings - Fork 63
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
Conversation
tommytroen
commented
Jun 8, 2021
- 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
* enabled by providing Tls constructor param with external keystore
* enabled by providing Tls constructor param with external keystore
* introduce BouncyCastle for cert generation
…tFactory * remove typo
* allow to byo keystore or generate * make Ssl non-private in order to retrieve the keystore when testing against the generated server cert
There was a problem hiding this 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 👍
src/test/kotlin/no/nav/security/mock/oauth2/e2e/MockOAuth2ServerIntegrationTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢