CodeReady Workspace SSL issues in Workspace
Issue
Workspaces are often used for source code compilations, sometimes there are SSL issues. Example symptoms:
"https://artifactory.intranet.somecompany.com/artifactory/mvn-plugins-release): java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)"
The users may have workarounds for problems of this type. These may be ineffective when the build is inside a CodeReady Workspaces workspace:
- mvn clean install -Dmaven.wagon.http.ssl.insecure=true
- Add the institution's Root ca to the JRE, i.e. jre/lib/security
Environment
CodeReady Workspaces for OpenShift 1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.