1

Topic: Iredadmin ?

Hi ! I have a problem:

mail system is working properly, but now i have problems to start Iredadmin.

My browser shows me the following error ---->>  ssl_error_rx_record_too_long
In apache log I see the following error ---->> Invalid method in request \x16\x03\x01

Can any help me to resolve this problem ?

My system is running on FreeBSD 8.2

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Iredadmin ?

You can try re-creating SSL keys with script: iRedMail-x.y.z/tools/generate_ssl_keys.sh.

3 (edited by weekender 2012-01-10 19:51:30)

Re: Iredadmin ?

ZhangHuangbin wrote:

You can try re-creating SSL keys with script: iRedMail-x.y.z/tools/generate_ssl_keys.sh.

I`ve executed script, but nothing happened.
You can see by yourself  address is  https://dj.fv63.ru

4

Re: Iredadmin ?

Sorry about the confusion. You need to do some addition steps to use newly generated SSL keys. It's described in tools/generate_ssl_keys.sh:

# USAGE:
# 1) Edit variables which starts with TLS_ below, then save file.
# 2) Execute shell command:
#
#       # bash generate_ssl_keys.sh
#
#    It will create two new files under CURRENT directory:
#
#       - certs/iRedMail_CA.pem: Used to replace file on iRedMail server:
#           + on RHEL/CentOS/Scientific Linux: /etc/pki/tls/certs/iRedMail_CA.pem
#           + on Debian/Ubuntu/openSUSE: /etc/ssl/certs/iRedMail_CA.pem
#           + on FreeBSD: /etc/ssl/certs/iRedMail_CA.pem
#       - private/iRedMail.key: Used to replace file on iRedMail server:
#           + on RHEL/CentOS/Scientific Linux: /etc/pki/tls/private/iRedMail.key
#           + on Debian/Ubuntu/openSUSE: /etc/ssl/private/iRedMail.key
#           + on FreeBSD: /etc/ssl/private/iRedMail.key
#
# 3) Grant read access to all users. e.g. on RHEL/CentOS/Scientific Linux:
#
#   # chmod +r /etc/ssl/certs/iRedMail_CA.pem
#   # chmod +r /etc/ssl/private/iRedMail.key
#
#   If you need more restrict file permission, please use file system ACL instead.
#   Refer to command 'setfacl' and 'getfacl' for more detail.
#
# 4) Restart all services which provides SSL secure connection. e.g. http,
#    dovecot, postfix, etc. A system reboot should be easier if possible.
#

5

Re: Iredadmin ?

I thought a problem in apache vhosts.conf

config below

<VirtualHost *:443>


    ServerAdmin alexd@tl.lv
    DocumentRoot "/usr/local/www/iredadmin"
    ServerName dj.fv63.ru





<Directory /usr/local/www/iredadmin/>

    WSGISocketPrefix /var/run/wsgi
    WSGIDaemonProcess iredadmin user=iredadmin threads=15
    WSGIProcessGroup iredadmin
    AddType text/html .py


    Order deny,allow
    Allow from all
</Directory>

</VirtualHost>

mail#