Mongo Ruby shards now available
If you have already imported the certificate then you can also use the below code (much simpler version). import com.mongodb.*; import javax.net.ssl.SSLSocketFactory; public class SSLApp1 { public static void main(String args[]) throws Exception { System.setProperty(“javax.net.ssl.trustStore”, …