-
Notifications
You must be signed in to change notification settings - Fork 155
Migrating keystores from JKS to PKCS12, better keystore management #25517
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
base: master
Are you sure you want to change the base?
Conversation
Status:
|
Current idea> if it is not good to share private keys and certificates anyhow, we should not distribute them except domain1 which should be declared as to be used just as a dummy example and user should always create new domain for testing. |
Ok, I followed the idea, it broke some pieces, after their resolving embedded should have bit faster starts, however it still broke few tests as now embedded doesn't contain certificates by default. Then tests using HTTPS cannot pass, however they lead to the need to provide an API to enable secured endpoints. |
Q1: Why? Q2: Would the certificate work as good without geo attributes in DN at all? |
Eclipse Foundation moved to EU few years ago, all active GF developers are in Europe or Japan. However the second question is more interesting.
It seems it would, those attributes are optional. Basically we need just CN which should be a hostname, which is much more complicated question ... so for the "example named domain1" certificate we use "localhost". I am still working on it, it will not go to 7.0.x, maybe some commits could, but no radical changes. |
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.
My apologies, the above approval was a misoperation.
No problem, I know it is not ready to be reviewed+merged, I will probably split it later to smaller PRs. |
27b6fbb
to
254809e
Compare
Status: Time to stop now.
TODO:
|
b5f2a1a
to
8a1ee7e
Compare
- Dangerous and insecure Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
- provide an empty keystore if the file does not exist or not set - log warning if the file is set but does not exist, but continue Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
- For embedded, keystores must be always provided by the user (or we can run without TLS support etc) Signed-off-by: David Matějček <[email protected]>
- note: even version is not available for embedded - we should improve it. Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
…metimes - good to be able to see when in logs Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
- no dependencies on other GF sources - output is not read in parallel threads - we don't care about the language of the system, we just write password 4 times - then we read the output, basically we ignore it except logs. Signed-off-by: David Matějček <[email protected]>
- basically tests working with HTTP over TLS Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
- types and passwords are not respected everywhere (still) - we need to have control over this - also deleted some unused code, especially constants Signed-off-by: David Matějček <[email protected]>
- note that type can be autodetected both by keytool and KeyStore Signed-off-by: David Matějček <[email protected]>
…private key passwords Signed-off-by: David Matějček <[email protected]>
- in few tests changed to different to avoid confusion Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
Signed-off-by: David Matějček <[email protected]>
- Option to upload tck-downloads to a local Nexus cache - helps to save dependency on network and downloading huge packages - no need to run this part again on rebuild - option to push that to a separate jenkins job - When using deploy plugin, do the upload in the end - Workaround for maven-war-plugin and artifacts without web.xml and servlets - the plugin uses servlet dependency to guess the spec, however now the servlet is not a mandatory dependency for a war file. - Fixed warning about property file encoding - usually we use Latin1 as in old JDKs, but using UTF-8 shouldn't harm here - Synchronzied dependencies - Updated shrinkwrap to 3.3.4 and its "relatives" which were sometimes overriden by other dependency - Arquillian 2.0.0 - Removed connectors-full tck - already covered by TckRunner - Updated Tags TCK - Synchronized TCK standalone projects to use same rules, common dependencies and same macros. - Faces TCK tricked to follow our dependency tree Signed-off-by: David Matějček <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.