title: Accessing Service With SelfSigned Certificate Using GSOAP
body: <p>I have a Service deployed on a Server which is Signed using self signed certificate.</p>
  
  <p>I am currently able to access the service using </p>
  
  <pre><code>if (soap_ssl_client_context(&amp;soap,
                  SOAP_SSL_NO_AUTHENTICATION,
                  NULL , NULL,
                  NULL,  /* ``    ````````````````````````````````    ``*/
                  NULL,NULL )!= SOAP_OK)
      {
  </code></pre>
  
  <p>But i guess in this case my backend server can be replaced and my client will still work because i wont be doing any cert validation.</p>
  
  <p>To Do it right in Prod how can i import the Self signed certs and how can i pass them through GSOAP to validate the certs, so i can make sure that i am connecting to right host. Any code Examples are highly appreciated as i am bit new with Gsoap , openSSL &amp; C++</p>