title: SSL Certificate not working with Azure VM running application
body: <p>Running an Azure VM, hosting a standalone application.
  VM is running Server 2012 R2, No IIS.</p>
  
  <p>The application listens on a custom port, say port 3246 for example.</p>
  
  <p>I have configured the VM Endpoint for port 3246.</p>
  
  <p>I have installed a certificate in the local machine store.</p>
  
  <p>I have bound that certificate to port 3246.</p>
  
  <p>I have even uploaded the certificate to the virtual machine cloud service for this VM.</p>
  
  <p>When I run an SSL Scan, all ciphers return either rejected (SSLv2) or Failed (SSLv1 and TLSv1)</p>
  
  <p>When I try connecting to the VM via OpenSSL I get the following:</p>
  
  <blockquote>
    <p>11636:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:.\ssl\s23_clnt.c:794:</p>
  
  <pre><code> --- no peer certificate available
   --- No client certificate CA names sent    
   --- SSL handshake has read 7 bytes and written 347 bytes
   --- New, (NONE), Cipher is (NONE)    Secure Renegotiation IS NOT supported
   Compression: NONE
   Expansion: NONE
   No ALPN negotiated
  </code></pre>
  </blockquote>
  
  <p>It appears that the SSL certificate is not being used?</p>
  
  <p>I have tried setting up ACL on the VM endpoint for port 3246, and also using no ALC, which should allow all traffic through.</p>
  
  <p>Windows Firewall on the VM is set to allow traffic for port 3246, but I have also tried with the firewall disabled.</p>
  
  <p>Any ideas would be greatly appreciated!</p>