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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -