Do you have a file named
127.0.0.1.key in your wave-protocol directory?

Did you make a 127.0.0.1.key file and a 127.0.0.1.cert file as described in
the installation procedure and move them into your directory?

When I first tried setting up my server, I didn't match the name to the
domain name.  When I did, it read the key but not the certificate.  That is
because on Ubuntu, my certificate had a .crt instead of a .cert extension.
So, I changed the config file to look for a .crt extension instead of a
.cert extension, and then everything started working (more or less) nicely.

Aldon

-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of dekz
Sent: Monday, November 02, 2009 8:44 PM
To: Wave Protocol
Subject: Re: Generating Private Key



I also have this problem, did you end up solving it?

On Oct 7, 9:00 am, evandrake <[email protected]> wrote:
> I am on Mac OS 10.5, and attempting to ./run-server.sh.  Everything
> else is setup, but I am having trouble with this last step.  My run-
> config.sh file does not seem to be right, because I am getting the
> Guice provision error: "Could not read private key."  What is wrong
> with my run-config.sh file below?? :  Do I need to create a private
> file?  If so, how?  What am I missing?  What should I be putting for
> the domain name on a localhost?
>
> #!/bin/bash
>
> # Configuration for the FedOne run scripts.
> #
> # Copy this file to run-config.sh and configure the variables there.
> # Please seehttp://code.google.com/p/wave-protocol/wiki/Installation
> for
> # instructions on how to configure the flags.
> #
>
> ### Variables common to the server, clients, and agents
> ###
>
> # Domain name of the wave server
> WAVE_SERVER_DOMAIN_NAME=127.0.0.1
>
> # Host name and port the wave server's client frontend listens on
> WAVE_SERVER_HOSTNAME=localhost
> WAVE_SERVER_PORT=5269
>
> # The version of FedOne, extracted from the build.properties file
> FEDONE_VERSION=`grep ^fedone.version= build.properties | cut -f2 -d=`
>
> ### Server-specific variables
> ###
>
> # These will probably need to be changed
> XMPP_SERVER_SECRET=wave
> PRIVATE_KEY_FILENAME=${WAVE_SERVER_DOMAIN_NAME}.key
> CERTIFICATE_FILENAME_LIST=${WAVE_SERVER_DOMAIN_NAME}.cert
>
> # These should be okay to leave alone
> CERTIFICATE_DOMAIN_NAME=$WAVE_SERVER_DOMAIN_NAME
> XMPP_SERVER_HOSTNAME=$WAVE_SERVER_DOMAIN_NAME
> XMPP_SERVER_PORT=5275
>
> # Set XMPP_SERVER_IP to localhost if the XMPP and FedOne servers are
> # running on the same host
> XMPP_SERVER_IP=$XMPP_SERVER_HOSTNAME
>
> # Set true to disable the verification of signed deltas
> WAVESERVER_DISABLE_VERIFICATION=false
>
> # Set true to disable the verification of signers (certificates)
> WAVESERVER_DISABLE_SIGNER_VERIFICATION=false



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to