Thanks you are right.
I got it to work now adding the ca_bundle to it.
BR.
Allan
2014-04-16 10:28 GMT+02:00 Eisenacher, Patrick :
>
>
> > -Original Message-
> > From Allan Nielsen
> >
> > I have installed an ubuntu server with dovecot and a free certificate
> from
> > startssl, but I get:
> > verify error:num=20:unable to get local issuer certificate
> > and
> > verify error:num=21:unable to verify the first certificate
> >
> > Any idea why?
>
> [snip]
>
> > Certificate chain
> > 0
> > s:/description=35l5njOWJKek82Eu/C=DK/CN=mail.minlilleverden.dk/emailAd
> > dress=postmas...@minlilleverden.dk
> >i:/C=IL/O=StartCom Ltd./OU=Secure Digital Certificate
> > Signing/CN=StartCom Class 1 Primary Intermediate Server CA
> > ---
>
> Your server sends only an end entity certificate, whose issuer is not
> trusted by your client. You need to add the issuer's certificate to your
> client's truststore.
>
> HTH,
> Patrick Eisenacher
>