Using a valid ca-bundle.crt smime file with mutt

mutt will complain with the following if you havent setup a working ~/.smime directory.
Error loading file /home/rene/.smime/ca-bundle.crt                                                          
301:error:02001002:system library:fopen:No such file or directory:bss_file.c:
122:fopen('/home/rene/.smime/ca-bundle.crt','r')                                           
A quick way to fix this is to install the ca-certificates package distributed by your vendor, create the smime directories and link a ca-bundle.crt directory. Heres how to do it with Debian or Ubuntu.
$ sudo apt-get install ca-certificates
$ smime_keys init
$ ln -sf /etc/ssl/certs/ca-certificates.crt ~/.smime/ca-bundle.crt
mutt should be happy and display the following when trying to verify a smime signature
[-- OpenSSL output follows (current time: Wed 23 Jan 2008 08:22:17 PM EST) --]                              
Verification successful                                                                                     
[-- End of OpenSSL output --]        

Thanks

Thanks.... save me a lot of time searching for the correct link

Chris

Heh, let me guess, you saw

Heh, let me guess, you saw the S/MIME signed post to asterisk-users today ;-) -- Julien

Hah, no. Total coincidence..

Hah, no. Total coincidence.. seriously. See you at LCA08! :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
eight - four =
Solve this math question and enter the solution with digits. E.g. for "two plus four = ?" enter "6".