I think I'm getting a bit closer on this but am now stuck again. It
looks to me like the server is not offering up the certificate for me to
accept. I exported the server certificate and the root CA certificate
and now have them in my openssl certs directory as well as a certificate
file in my mutt directory.

Now I am trying to specify the variable:

set ssl_ca_certificates_file='/etc/ssl/certs/[rootCA.pem]'

But when I launch mutt I get an error:

ssl_ca_certificates_file: unknown variable

The only info I can find on this is to recompile mutt with --with-ssl
but it is already there as far as I can tell.

mutt -v :

Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 3.2.13-1-ARCH (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libidn: 1.24 (compiled with 1.24)
hcache backend: GDBM version 1.10. 13/11/2011 (built Nov 19 2011
00:07:33)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  +USE_FCNTL
-USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  +USE_GSS
+HAVE_GETADDRINFO  
-HAVE_REGCOMP  +USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
+CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-...@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

Steve



On 03/27/12 12:30, step...@thecotts.com wrote:
> I'm having an issue connecting to one of my IMAP accounts via mutt.
> The only error received is "SSL Failed: I/O error"
> 
> I am able to connect to other IMAP servers with the same settings
> but not this one. I am never prompted for a user name or password,
> just receive the SSL error.
> 
> I have also tried to verify the settings with the following command
> and get a successful connection:
> 
> openssl s_client -host imap.us.army.mil -port 993 -verify -debug
> -no_ssl2 -no_tls1_2 -no_tls1_1 -no_tls1
> 
> I tried unsetting all of the ssl options except for sslv3 in mutt
> with no success.
> 
> I've been troubleshooting by running Mutt with the following options:
> 
> mutt -n -F ~/.mutt/temp-muttrc
> 
> contents of temp-muttrc:
> 
> set from="[my email address]"
> set realname="[my name]"
> 
> set spoolfile="imaps://imap.us.army.mil:993"
> set folder="imaps://imap.us.army.mil:993/"
> 
> set certificate_file="~/.mutt/certificates"
> 
> 
> Steve
> 
> 
> 
> 

Reply via email to