I have one privatekey which the server has a public key version of in its truststore. And i have the servers publickey/certificate in my truststore.
In the client.pem file i put the servers certificate and the client private key, do i need to put the client certificate also in that file? In my java client, i have the server certificate in a truststore, and my privatekey in a keystore. On Mon, Dec 14, 2015 at 1:59 PM Lukas Tribus <[email protected]> wrote: > Hi Idar, > > > > > If i put my client-key in client.pem then i get this error: unable to > > load ssl certificate from PEM file > > The crt keyword [1] in the backend configuration expects both the > client certificate and the corresponding (client-cert) private-key. > > > > When i use my java client i only need the server certificate and my > > private key. > > You meant the *client* certificate and its private key, correct? > > You need to do the same for haproxy (concatenating client cert with > the private key). > > > > Regards, > > Lukas > > > > [1] http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.2-crt > -- Idar Borlaug

