Greetings Folks,
Just wanted to reply to MYSELF to let everyone know
the solution! I discovered that I needed to set the
SSLContext that I created to the SSLContext.default(ctx)
as the default SSLContext. Seems like the embedded
eclipse software that is in maven, resources and many other
packages is happy, or at least no longer complains!
Funny I get no indication of anything I did correctly, lol.
best regards,
joe
On 1/2/24 05:37, java joe via platform-dev wrote:
Greetings and Happy New year,
I have a set up that loads all of the javax.net.ssl properties for
TrustStore and KeyStore.
javax.net.ssl.trustStore=cacerts
javax.net.ssl.encryptedPassword=true
javax.net.ssl.cfgFileLocation=NONE
javax.net.ssl.keyStorePassword=D6OQCGToO/eGbmP/ry1koJqjVPWfdN04uWyiXPCv22Y\=
javax.net.ssl.trustStoreType=JKS
javax.net.ssl.trustStorePassword=changeit
javax.net.ssl.keyStoreProvider=PKCS12
javax.net.ssl.keyStoreType=PKCS12
javax.net.ssl.keyStore=my.p12
I successfully load the SSLContext, but see a bunch of stack traces
come out with two
major errors;
1) Repository registration initialization
2) Updating Maven Dependencies
java.lang.ExceptionInInitializerError
at
org.apache.maven.properties.internal.EnvironmentUtils.addEnvVars(EnvironmentUtils.java:51)
at
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.populateSystemProperties(MavenExecutionContext.java:447)
at
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.createExecutionRequest(MavenExecutionContext.java:203)
at
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.newExecutionRequest(MavenExecutionContext.java:152)
at
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:241)
at
org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:214)
at
org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:106)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException: Cannot invoke
"String.toLowerCase(java.util.Locale)" because the return value of
"java.lang.System.getProperty(String)" is null
at org.codehaus.plexus.util.Os.<clinit>(Os.java:101)
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list,
visithttps://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev