java - No cipher suites in common when reading https ajax request -
i'm trying create sslserversocket
i'm getting exception javax.net.ssl.sslhandshakeexception: no cipher suites in common
when try read headers/body https ajax request. can solve problem using these lines of code:
system.setproperty("javax.net.ssl.keystoretype", "pkcs12"); system.setproperty("javax.net.ssl.keystore", "c:/cert/ssl.pfx"); system.setproperty("javax.net.ssl.keystorepassword", "password");
but code run on customers machine, can not send .pfx
files every customer (i've read contains private key). so, there way can set keystore .cer
file (since not contain private key), or other solution problem?
Comments
Post a Comment