< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] turn server configuration


Am 23.01.2014 23:44, schrieb Wolfgang Rosenauer:
> Hi,
> 
> finally got all of resiprocate compiled and installed on my box. (1.9rc1)
> Now the first thing I've tried is to configure and run turn server.
> 
> But I always get a certificate error:
> Jan 23 23:41:05 talk reTurnServer: ERR | 20140123-234105.391 |
> reTurnServer | RETURN | 15834 | 139748069418784 | TlsServer.cxx:44 |
> Unable to load server private key file: /etc/, error=22(Invalid argument)
> Jan 23 23:41:05 talk reTurnServer: ERR | 20140123-234105.393 |
> reTurnServer | RETURN | 15834 | 139748069418784 | reTurnServer.cxx:207 |
> exception: Invalid argument
> 
> My config is:
> 
> TlsServerCertificateFilename = startssl-talk.crt
> #TlsServerPrivateKeyFilename =
> TlsTempDhFilename = dh512.pem
> #TlsPrivateKeyPassword =
> 
> According to the comments in the file I'd expect this to work if the
> private key is in the public crt file.

I could solve it by specifying the same crt file as
TlsServerPrivateKeyFilename but then there is a flaw in the
documentation/comments about the config file which should be fixed?


Thanks,
 Wolfgang