title: how to solve javax.net.ssl.SSLPeerUnverifiedException: Hostname .com not verified:
body: <p>I am having the following error <code>Hostname domain.com not verified:</code> Not <code>"javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated"</code> I was able before to connect to different host, in this host I am facing problems , how to fix it </p>
  
  <pre><code> javax.net.ssl.SSLPeerUnverifiedException: Hostname domain.com not verified:
      certificate: sha1//WQM9QbrKs6DCFa9qN/EIw1ywBw=
      DN: CN=*.ipage.com,OU=Domain Control Validated - RapidSSL(R),OU=See www.rapidssl.com/resources/cps (c)14,OU=GT29505539
      subjectAltNames: [*.ipage.com, ipage.com]
              at com.squareup.okhttp.Connection.connectTls(Connection.java:244)
              at com.squareup.okhttp.Connection.connectSocket(Connection.java:199)
              at com.squareup.okhttp.Connection.connect(Connection.java:172)
              at com.squareup.okhttp.Connection.connectAndSetOwner(Connection.java:367)
              at com.squareup.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
              at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:328)
              at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
              at com.squareup.okhttp.Call.getResponse(Call.java:267)
  </code></pre>
  
  <p>this is my code</p>
  
  <pre><code>  try {
                      JSONObject jsonObject = new JSONObject();
                      jsonObject.accumulate("name", name);
                      jsonObject.accumulate("password", pass);
                      jsonObject.accumulate("email", emails);
                      json = jsonObject.toString();
                      Log.e("MYAPP", "getjson");
  
                  } catch (JSONException e) {
                      Log.e("MYAPP", "unexpected JSON exception", e);
                  }
                  try{
                      RequestBody formBody = new FormEncodingBuilder()
                              .add("name", name)
                              .build();
                      Request request = new Request.Builder()
                              .url("https://justedhak.com/Files/users.php")
                              .post(formBody)
                              .build();
  </code></pre>