From conrad at hep.caltech.edu Thu May 1 00:29:40 2003 From: conrad at hep.caltech.edu (Conrad Steenberg) Date: 30 Apr 2003 15:29:40 -0700 Subject: [Help-gnutls] Help with PEM encoded key/cert Message-ID: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> Hi I'm trying to init a connection using a pem-encoded cert/key pair, but keep on getting the same error. E.g. in src/x509: gnutls-cli --x509keyfile clikey.pem --x509certfile clicert.pem --x509cafile ca.pem localhost results in: Error setting the x509 trust file Error setting the x509 key files ('clicert.pem', 'clikey.pem') Any ideas? Thanks! Conrad -- Conrad Steenberg From nmav at gnutls.org Thu May 1 22:42:32 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Thu, 1 May 2003 23:42:32 +0300 Subject: [Help-gnutls] Help with PEM encoded key/cert In-Reply-To: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> References: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> Message-ID: <20030501204232.GA975@gnutls.org> On Wed, Apr 30, 2003 at 03:29:40PM -0700, Conrad Steenberg wrote: > Hi > I'm trying to init a connection using a pem-encoded cert/key pair, but > keep on getting the same error. > E.g. in src/x509: > gnutls-cli --x509keyfile clikey.pem --x509certfile clicert.pem > --x509cafile ca.pem localhost > results in: > Error setting the x509 trust file > Error setting the x509 key files ('clicert.pem', 'clikey.pem') > Any ideas? Could you send a certificate so that I can reproduce this problem. Send a CA cert or something. > Thanks! > Conrad > -- > Conrad Steenberg -- Nikos Mavroyanopoulos From conrad at hep.caltech.edu Thu May 1 23:00:21 2003 From: conrad at hep.caltech.edu (Conrad Steenberg) Date: 01 May 2003 14:00:21 -0700 Subject: [Help-gnutls] Help with PEM encoded key/cert In-Reply-To: <20030501204232.GA975@gnutls.org> References: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> <20030501204232.GA975@gnutls.org> Message-ID: <1051822820.24152.130.camel@heppc22.hep.caltech.edu> Hi Nikos This was with the example certificates in src/x509, which is why it is so puzzling. Some more info: Redhat 7.3 with gcc-2.96, gnutls-0.9.5. I'll try it on a Redhat 9 machine as well, come to think of it. Thanks for your response :-) Conrad On Thu, 2003-05-01 at 13:42, Nikos Mavroyanopoulos wrote: > On Wed, Apr 30, 2003 at 03:29:40PM -0700, Conrad Steenberg wrote: > > > Hi > > I'm trying to init a connection using a pem-encoded cert/key pair, but > > keep on getting the same error. > > E.g. in src/x509: > > gnutls-cli --x509keyfile clikey.pem --x509certfile clicert.pem > > --x509cafile ca.pem localhost > > results in: > > Error setting the x509 trust file > > Error setting the x509 key files ('clicert.pem', 'clikey.pem') > > Any ideas? > > Could you send a certificate so that I can reproduce this problem. > Send a CA cert or something. > > > Thanks! > > Conrad > > -- > > Conrad Steenberg -- Conrad Steenberg From conrad at hep.caltech.edu Thu May 1 23:37:26 2003 From: conrad at hep.caltech.edu (Conrad Steenberg) Date: 01 May 2003 14:37:26 -0700 Subject: [Help-gnutls] Help with PEM encoded key/cert In-Reply-To: <20030501204232.GA975@gnutls.org> References: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> <20030501204232.GA975@gnutls.org> Message-ID: <1051825046.24152.138.camel@heppc22.hep.caltech.edu> Hi Nikos I tried the same command on Redhat 9 and it works fine, so the problem is probably due to the broken compiler that shipped with 7.3 :-( I can send you more info if you like, but I don't want you to waste your time chasing down bugs in other people's code if you don't want to. Cheers! Conrad On Thu, 2003-05-01 at 13:42, Nikos Mavroyanopoulos wrote: > On Wed, Apr 30, 2003 at 03:29:40PM -0700, Conrad Steenberg wrote: > > > Hi > > I'm trying to init a connection using a pem-encoded cert/key pair, but > > keep on getting the same error. > > E.g. in src/x509: > > gnutls-cli --x509keyfile clikey.pem --x509certfile clicert.pem > > --x509cafile ca.pem localhost > > results in: > > Error setting the x509 trust file > > Error setting the x509 key files ('clicert.pem', 'clikey.pem') > > Any ideas? > > Could you send a certificate so that I can reproduce this problem. > Send a CA cert or something. > > > Thanks! > > Conrad > > -- > > Conrad Steenberg -- Conrad Steenberg From nmav at gnutls.org Fri May 2 09:58:51 2003 From: nmav at gnutls.org (Nikos Mavroyanopoulos) Date: Fri, 2 May 2003 10:58:51 +0300 Subject: [Help-gnutls] Help with PEM encoded key/cert In-Reply-To: <1051825046.24152.138.camel@heppc22.hep.caltech.edu> References: <1051741780.24152.101.camel@heppc22.hep.caltech.edu> <20030501204232.GA975@gnutls.org> <1051825046.24152.138.camel@heppc22.hep.caltech.edu> Message-ID: <20030502075851.GA1271@gnutls.org> On Thu, May 01, 2003 at 02:37:26PM -0700, Conrad Steenberg wrote: > Hi Nikos > I tried the same command on Redhat 9 and it works fine, so the problem > is probably due to the broken compiler that shipped with 7.3 :-( Since this is the problem, it does not worth the effort. Just ignore it. > Cheers! > Conrad -- Nikos Mavroyanopoulos