[PATCH] FAQ: add two entries concerning 'sslcacertfile'
Daniel Shahaf
d.s at daniel.shahaf.name
Sat May 14 18:59:24 BST 2011
I used ^D in the example because redirecting stdin from /dev/null didn't work in my testing then. But it works now, so +1 to adjust the example.
Could also use '> /path/to/sslcacertfile' instead of a shell/perl variable syntax, I'm indifferent re that.
On Sat, 14 May 2011 10:41 +0200, "Johannes Kastl" <ojkastl at gmx.de> wrote:
> Hi there,
>
> On 5/8/11 9:55 PM Daniel Shahaf wrote:
>
> > + openssl s_client -CApath /etc/ssl/certs -connect ${hostname}:imaps -showcerts \
> > + | perl -ne 'print if /BEGIN/../END/; print STDERR if /return/' > $sslcacertfile
> > + ^D
>
> Im not an expert on openssl, but when running the command I got an empty
> output file. Of course, I substituted ${hostname}:imaps with the right
> server and port, and used sslcacertfile without the $ at the beginning.
>
> After a while I realised I had to end the connection with ^D, and then
> it worked.
>
> So maybe these issues should be clarified, for the next non-expert
> trying this...
>
> Regards,
> Johannes
> --
> `However, let us assume that you have invited me warmly into your house.
> It is unwise to linger overlong on doorsteps in these troubled times.ยด
> (Albus Dumbledore in Harry Potter and the Half-Blood Prince)
>
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap
> Email had 1 attachment:
> + signature.asc
> 1k (application/pgp-signature)
More information about the OfflineIMAP-project
mailing list