Problems accessing BTCE api after certificate change?
I have got two JREs in my windows 7 machine. I have executed both below listed commands and I am able to connect it btce.

keytool -import -keystore "C:/Program Files/Java/jdk1.8.0_05/jre/lib/security/cacerts" -storepass "changeit" -noprompt -alias "BTCE" -file C:/Users/Dell/Downloads/btceSERVER.cert

keytool -import -keystore "C:/Program Files/Java/jre8/lib/security/cacerts" -storepass "changeit" -noprompt -alias "BTCE" -file C:/Users/Dell/Downloads/btceSERVER.cert

Points to note:


I have mentioned full path for the keystore
I have not used trustcacerts


Awaiting response



Two ways I can think of to download certificate.
First(using linux):
echo -n | openssl s_client -connect btc-e.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/btceSERVERNAME.cert

Second(using firefox):
1. Visit h t t p s:/ / btc-e.com/
2. Click on the small Lock icon present in front of https in the url section. This will bring up a small popup
3. Click "More information" button, this will bring up a popup window titled as "Page info", 
4. Click "View certificate", this will bring up certificate viewer
5. In certificate viewer, select "Details" tab 
6. Click export button, which will bring up file save dialogue to save the cert.