← Back to team overview

rohc team mailing list archive

R: iprohc_server: failed load server certificate from file

 

Hello,
I solved by myself : it was my mistake.For future memory :
a) never insert the "export" password when converting the certificate intp .p12 formatb) use the local certification authority of the server also for creating the client certificates.... :-(
RegardsUP





----Messaggio originale----

Da: ugop@xxxxxxxxx

Data: 2-giu-2015 8.03

A: <rohc@xxxxxxxxxxxxxxxxxxx>

Ogg: [Rohc] iprohc_server: failed load server certificate from file



Hello Didier,

 

I'm at my first
installation of iprohc and I'm finding some problems...

I'm working on
Debian 3.2.68 "Wheezy" fresh installation.

I installed rohc
libraries and iprohc without any special issue, excluding a small problem in
the shared libraries index.

I
installed IP/ROHC server, version 0.7.1 (according to -h option)

Unfortunately,
when I try st start the server (iprohc_server -b eth0), I'm getting the
following error (shown here in -d mode)

 

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Debugging enabled

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [general] port => 3126

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [general] pidfile =>
/var/run/iprohc_server.pid

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [general] p12file =>
/etc/ssl/server_voip.p12

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [tunnel] ipaddr => 192.168.42.1

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [tunnel] packing => 5

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [tunnel] maxcid => 15

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [tunnel] unidirectional => 1

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Conf [tunnel] keepalive => 60

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Port     : 3126

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: P12 file : /etc/ssl/server_voip.p12

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Pidfile  :
/var/run/iprohc_server.pid

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: Tunnel params :

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]:  . Local IP  : 192.168.42.1

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]:  . Packing   : 5

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]:  . Max cid   : 15

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]:  . Unid      : 1

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]:  . Keepalive : 60

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: load server certificate from file
'/etc/ssl/server_voip.p12'

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: failed load server certificate from
file '/etc/ssl/server_voip.p12'
<<<<<<<<<<<<<<

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: remove pidfile '/var/run/iprohc_server.pid'

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: server stops with exit code 1

Jun  2
07:56:18 wheezyVM3 iprohc_server[18956]: close syslog session

 

 

I have tried to
generate server_voip.p12 both using OpenSSL selef CA and from cert-depot, but
no way.

I saw in a 2013
mailing list post that  this problem was solved by a patch : is this
solution still effective ? In any case the link to the patch is no more
available, and I was'nt able to download the patch.

 

Any suggestion
appreciated

Regards

Ugo Poddine