Getting cyradm to work over SSL

Philip Prindeville philipp_subx at redfish-solutions.com
Fri Jun 5 13:05:02 EDT 2015



On 06/05/2015 10:56 AM, Philip Prindeville wrote:
>
>
> On 06/05/2015 07:50 AM, Dan White wrote:
>> On 06/04/15 14:23 -0600, Philip Prindeville wrote:
>>> I'm running cyrus 2.4.17 on Fedora 21 (with cyrus-sasl 2.1.26).
>>>
>>> I'm trying to write some test automation, but can only get it to 
>>> work with IMAP, not IMAP/SSL.
>>>
>>> If I run:
>>>
>>> % cyradm --user cyrus --port 143 --auth login --notls localhost
>>>
>>> that works fine (though oddly it complains about a self-signed 
>>> cert).  I've created a user "cyrus" using:
>>>
>>> saslpasswd -c -u mail cyrus
>>>
>>> and that authenticates fine.
>>>
>>> If I run:
>>>
>>> % cyradm --user --port 993 --auth login localhost
>>
>> Assuming that you are not using client certs, try adding:
>>
>> --tlskey ""
>>
>> to your command.
>
> No, then I just get:
>
> TLS disabled.
> cyradm: cannot authenticate to server with login as cyrus
>
> and an exit code of 255.

Oh, I also note that:

cyradm --help

doesn't show all of the options, including "--tlskey".




More information about the Cyrus-devel mailing list