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

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -