This could happen if you are not running the command prompt in administrator mode.
If you are using windows 7, you can go to run, type cmd and hit Ctrl+Shift+enter. This will open the command prompt in administrator mode. If not, you can also go to start -> all programs -> accessories -> right click command prompt and click ‘run as administrator’.
More Related Contents:
- Accept server’s self-signed ssl certificate in Java client
- Received fatal alert: handshake_failure through SSLHandshakeException
- Java: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- Unable to find valid certification path to requested target – error even after cert imported
- How to properly import a selfsigned certificate into Java keystore that is available to all Java applications by default?
- Trust Store vs Key Store – creating with keytool
- How to fix the “java.security.cert.CertificateException: No subject alternative names present” error?
- Importing the private-key/public-certificate pair in the Java KeyStore [duplicate]
- Java keytool easy way to add server cert from url/port
- How to ignore PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException?
- Java SSL: how to disable hostname verification
- Caused by: java.security.UnrecoverableKeyException: Cannot recover key
- Generate certificates, public and private keys with Java [closed]
- javax.net.ssl.SSLPeerUnverifiedException: Host name does not match the certificate subject provided by the peer
- Java7 Refusing to trust certificate in trust store
- SSL “Peer Not Authenticated” error with HttpClient 4.1
- Java: Loading SSL Keystore via a resource
- How Can I Access an SSL Connection Through Android?
- Ignore self-signed ssl cert using Jersey Client [duplicate]
- Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?
- “PKIX path building failed” and “unable to find valid certification path to requested target”
- Java SSLHandshakeException “no cipher suites in common”
- How to extract CN from X509Certificate in Java?
- Programmatically Import CA trust cert into existing keystore file without using keytool
- Why does Java’s SSLSocket send a version 2 client hello?
- SSLHandshakeException while connecting to a https site
- Java SSLException: hostname in certificate didn’t match
- Android SSL HttpGet (No peer certificate) error OR (Connection closed by peer) error
- How to use .key and .crt file in java that generated by openssl?
- How to build a SSLSocketFactory from PEM certificate and key without converting to keystore?