You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to connect to a secure server through their WSS address but I keep getting Error: sun.security.validator.ValidatorException: No trusted certificate found
I have already followed the following steps to generate a self-signed key, convert it to a certificate and import it to the keystore.
Hi!
I have been trying to connect to a secure server through their WSS address but I keep getting
Error: sun.security.validator.ValidatorException: No trusted certificate found
I have already followed the following steps to generate a self-signed key, convert it to a certificate and import it to the keystore.
Create keystore.jks using
keytool -genkey -alias test -keyalg RSA -keystore keystore.jks -dname "CN=AA, OU=BB, O=CC, L=DD, S=EE, C=FF" -storepass changeit -keypass changeit
Create cacert.jks using
keytool -export -alias test -storepass changeit -file server.cer -keystore keystore.jks
Create server.cer using
keytool -import -v -trustcacerts -alias test -file server.cer -keystore cacerts.jks -keypass changeit -storepass changeit -noprompt
What and where the problem could be?
The text was updated successfully, but these errors were encountered: