Subject: Re: imap-uw w/ ssl
To: Schamil Wackenhut <>
From: Frederick Bruckman <>
List: netbsd-users
Date: 01/09/2003 11:12:32
On Thu, 9 Jan 2003, Schamil Wackenhut wrote:

> i've just tried to install imap-uw from pkgsrc (NetBSD-1.6) with ssl
> support
> ( SSLTYPE=unix make install )

Actually, SSL support is the default. The package options are to
disable it with

   IMAP_UW_NO_SSL=YES make install

or prohibit cleartext entirely with

   IMAP_UW_NO_CLEARTEXT=yes make install

(but I prefer to set such things myself in "/etc/mk.conf".)

> edit my /etc/inetd.conf like it is described in faq (imap, imaps etc)
> restarted inetd, but it looks like imap-uw supports no ssl:
> $ nc kasten 143
>  KASTEN.wackes.netz IMAP4rev1 2002.334 at Thu, 9 Jan 2003 16:49:32 +0100 (CET)

'STARTTLS' is the new name of what used to be called 'SSL'.

> When i try to create a crtificate for imapd
> ( openssl req -new -x509 -nodes -out imapd.pem -keyout imapd.pem -days 3650 )
> i get an error message:
> 28234:error:0E06D06A:configuration file routines:NCONF_get_string:no
> conf or environment
> variable:/autobuild/src/lib/libcrypto/../../crypto/dist/openssl/crypto/conf/conf_lib.c:343:
> That's all :/ What can be a reason, how can i solve this one?


     cp /usr/share/examples/openssl/openssl.cnf /etc/openssl/openssl.cnf

With that, the command you gave leads to an interactive dialog for
creating the certificate.