Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Trouble setting up SSL
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rudy  
View profile  
 More options Sep 20 2012, 4:35 am
From: rudy <r...@greenfossil.com>
Date: Thu, 20 Sep 2012 01:35:51 -0700 (PDT)
Local: Thurs, Sep 20 2012 4:35 am
Subject: [1.2.5] Trouble setting up SSL

I am able to successfully set up play application with SSL when I use my
own system generated certificate + Key files.

openssl genrsa 1024 > host.key
openssl req -new -x509 -nodes -sha1 -days 365 -key host.key > host.cert

However, when I use the production key + cert (filename.pfx + filename.pem)
it does not work. I rename the files to host.key and host.cert according to
the documentation but still not working. I get an error in the browser
stating:
=======================
SSL connection errorUnable to make a secure connection to the server. This
may be a problem with the server, or it may be requiring a clientauthentication
certificate that you don't have.Error 107 (net::ERR_SSL_PROTOCOL_ERROR):
SSL protocol error.
=======================

The server throws a ClassCastException on the CLI

java.lang.ClassCastException: org.bouncycastle.asn1.cms.ContentInfo cannot
be cast to java.security.KeyPair
at
play.server.ssl.SslHttpServerContextFactory$PEMKeyManager.<init>(SslHttpSer verContextFactory.java:94)
at
play.server.ssl.SslHttpServerContextFactory$PEMKeyManager.<clinit>(SslHttpS erverContextFactory.java:79)
at
play.server.ssl.SslHttpServerContextFactory.<clinit>(SslHttpServerContextFa ctory.java:47)
at
play.server.ssl.SslHttpServerPipelineFactory.getPipeline(SslHttpServerPipel ineFactory.java:29)
at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registe rAcceptedChannel(NioServerSocketPipelineSink.java:274)
at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(Nio ServerSocketPipelineSink.java:239)
at
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java :102)
at
org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker .java:42)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j ava:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 908)
at java.lang.Thread.run(Thread.java:662)

----------------
Any ideas on how I should proceed?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.