title: Create SSLContext from private key and cer files
body: <p>I have two files:</p>
  <ul>
  <li><code>mycer.cer</code></li>
  <li><code>mykey.key</code></li>
  </ul>
  <p>I need to create a <code>SslContext</code> to connect to another server via SSL using Java.
  I'm trying to find out how I can create the <code>SslContext</code> object directly from those files.</p>
  <p>This post may be duplicated, but I tried to find a clear explanation with an example to create the <code>SslContext</code>, but didn't find something clear.</p>