Take a look at the documentation on the new security udpates for Java7 Update51.
You can no longer use selft-sign certificates. There are also some changes you need to make in the MANIFEST.MF, without which, will cause your application to be blocked.