Andreas Aardal Hanssen wrote:
On Tue, 11 Jan 2005, Hasse Hagen Johansen wrote:
Hi
I have just installed the newest snapshot of the development release. I have
some problems figuring out how to SSL working in this.
I have run make testcert in the directory created by unpacking the
distribution. It creates a bincimap.pem in /usr/local/etc
The configuration file bincimap-config specify this as default:
SSL_CERTIFICATE_FILE=/usr/local/etc/bincimap.cert
SSL_PRIVATE_KEY_FILE=/usr/local/etc/bincimap.key
I have now tried with combinations of these with it replaces with .pem file
to no success
Hi, Hasse. The testcert.pem file is an artifact from 1.2 which doesn't work as well with 1.3 out of the box. If you set both the key and certificate settings to point to the pem file, you should be fine.
I have also followed the direction about using openssl to create a
selfsigned certificate and got a .cert and .key file and using the above
default configuration to no success.
Can anyone help me as I don't quite understand how to get this working?
In what sense did it not work? Did you check the log files? Could you explain what you did to reproduce the error?
Andy :-)
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
Hi Andy
I tried both making the .cert and .key and put the locationb in the configuration file. I also tried the rcik with setting both paths in the config file to .pem file I didn't work for some just got a "SSL internal error" or something like that (I don't remember the exact words). This is when I tried doing a 01 STARTTLS via telnet
But I also have problems with it without using SSL (think it is some checkpassword problem)
I am now using your stable release which works fine. But will try getting 1.3.x to work with atuh_pop from qmail-ldap, but that is another problem ;-)
/Hasse
