Error when downloading tomcat PKIX path building? - security

I have installed OpenKM (OKMInstaller.jar) on windows 10 with JDK and successfully installed.
Then I tried to install the same version of OpenKM and JDK on windows server 2019, but it is failed.
This message appear:
Downloading Tomcat ERROR: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Here is screen shot:
Any help plz ...
Thanks
I tried with keytool command but didn't work.

Related

Gradle issues on Android Bumblebee on Mac

I'm recently installed Android Studio and create a project and I'm seeing the following gradle issues when trying to build:
> Could not resolve com.android.tools.build:gradle:7.1.2.
Required by:
project :
> Could not resolve com.android.tools.build:gradle:7.1.2.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.1.2/gradle-7.1.2.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.1.2/gradle-7.1.2.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.2/userguide/build_environment.html#gradle_system_properties
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I installed the gradle-7.1.2.pom as mentioned but there's no information on where to place it.
Also I'm seeing the following gradle error:
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

can not install using sdk on cygwin

I tried to install gradle using sdk, but it failed, and I have no idea why
sdk install gradle 6.2
Downloading: gradle 6.2
In progress...
Warning: Failed to create the file /home/nydia/.sdkman/tmp/gradle-6.2.bin: No
Warning: such file or directory
curl: (23) Failed writing body (0 != 8602)
mv: cannot stat '/home/nydia/.sdkman/tmp/gradle-6.2.bin': No such file or directory
I saw a similar question, he solved with add curl on cygwin package, but I already got curl on cygwin. I'm not sure why it still not work. Can somebody help me out?

Problems with Installing Android Studio on Linux Mint

I have the android-studio folder and am trying to execute ./studio.sh.
The problem appears as the following:
/android-studio$ ./studio.sh
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error: Could not find or load main class com.intellij.idea.Main
Caused by: java.lang.ClassNotFoundException: com.intellij.idea.Main
Anyone else have this problem?
I have java installed already.
delete folder
linux
i delete and run and work for me below directory
~/.config/JetBrains/
enter link description here

Android Studio: unable to find valid certification path to requested target using Proxy

I am under enterprise network and I have tried adding proxies into android studio as well as in gradle but still I am facing this issue of certificate path.
I have also tried adding jcenter cert to studio but it does not help either.
Here are the logs:
Caused by:
org.gradle.internal.resource.transport.http.HttpRequestException: Could not
GET 'https://dl.google.com/dl/a
ndroid/maven2/com/android/tools/build/gradle/3.1.4/gradle-3.1.4.pom'.
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:96)
at org.gradle.internal.resource.transport.http.HttpClientHelper.performRawGet(HttpClientHelper.java:80)
... 151 more
Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)
An enterprise firewall is unlikely to cause a certificate issue.
Java uses its own certificate bundle and you may have an older JDK that doesn't have the root certificate for dl.google.com.
Check what JDK your Studio is running on and if needed, get a more recent one. Android Studio comes with its own JDK, if you're using that you can switch to a different newer one: if I recall correctly, the setting is in "File" -> "Project Stucture" -> "Sdk Location"; or you can upgrade Studio itself.
Im my case the problem was solved installing the jdk8

Android Studio Gradle Peer not authenticated

With Android Studio 1.2.2, I am unable to build with gradle with the following message:
Error:A problem occurred configuring root project 'android'.
A problem occurred configuring project ':CordovaLib'.
Could not resolve all dependencies for configuration ':CordovaLib:classpath'.
Could not resolve com.android.tools.build:gradle:1.0.0+.
Required by:
android:CordovaLib:unspecified
Could not resolve com.android.tools.build:gradle:1.0.0+.
Failed to list versions for com.android.tools.build:gradle.
Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml.
Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml'.
peer not authenticated
I tried downloading gradle 2.4 and setting the gradle distribution locally, but still did not help.
Also, making the following change in the build file did not work.
jcenter {
url "http://jcenter.bintray.com/"
}
How can this be resolved?

Resources