Topic: Domain key either too big or too small
==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.3
- Linux/BSD distribution name and version: Ubuntu Server 11.04
- Any related log? Log is helpful for troubleshooting.
====
Hi,
I have a homemade server under ubuntu 11.04 and a domainname at OVH.
When I make a simple key:
#openssl genrsa -out vanpe.fr.pem
I get:
root@mail:/var/lib/dkim# amavisd-new testkeys
TESTING#1: dkim._domainkey.vanpe.fr => fail (OpenSSL error: data too large for modulus)
when I make it smaller:
openssl genrsa -out vanpe.fr.pem 512
I get:
root@mail:/var/lib/dkim# amavisd-new testkeys
TESTING#1: dkim._domainkey.vanpe.fr => fail (OpenSSL error: data too small for key size)
What can I do?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.