title: play framework 2.3.7 - SSL confirguration
body: <p>I am trying to setup SSL connection for my Play application. Here is the process I followed:</p>
  
  <blockquote>
    <p>keytool -genkeypair -v -alias example.com -keystore example.com.jks
    -keyalg RSA -keysize 2048 -validity 385</p>
    
    <p>keytool -certreq -v -alias example.com -keypass password -storepass
    password -keystore example.com.jks -file example.com.csr</p>
  </blockquote>
  
  <p>Submitted the CSR to godaddy and downloaded the certificates.</p>
  
  <blockquote>
    <p>keytool -import -v -alias root -file gdroot-g2.crt -keystore
    example.com.jks -storetype JKS</p>
    
    <p>keytool -import -v -alias intermed -file gdig2.crt -keystore
    example.com.jks -storetype JKS</p>
    
    <p>keytool -import -v -alias example.com -file 46826eerd8c69.crt
    -keystore example.com.jks -storetype JKS</p>
  </blockquote>
  
  <p>After this added 127.0.0.1 www.example.com to my /etc/hosts and started the play server as below.</p>
  
  <blockquote>
    <p>./activator -Dhttps.port=9443
    -Dhttps.keyStore=/tmp/ssl/example.com.jks -Dhttps.keyStorePassword=password run</p>
  </blockquote>
  
  <p>Now when I try to access the url via browser <a href="https://www.example.com:9443" rel="nofollow">https://www.example.com:9443</a>, I see the following message. No errors on the server.</p>
  
  <blockquote>
    <p>Unable to make a secure connection to the server. This may be a
    problem with the server, or it may be requiring a client
    authentication certificate that you don't have. Error code:
    ERR_SSL_PROTOCOL_ERROR</p>
  </blockquote>
  
  <p>I have no clue of what's happening. I followed the entire process twice, but still no luck.</p>
  
  <p>Any help is appreciated.</p>