Hello, I'm trying to run the script in a CentOS-6.3 server and I get this error:

Starting postfix: [ OK ]

Generating DSA parameters, 1024 bit long prime

This could take some time

.......+.....+..+................+++++++++++++++++++++++++++++++++++++++++++++++++++*

.....+...........+.+...+...+.........+.....+..+...+.........+.+.......+......+....................+.................+..............+...................+.......+.............................................+.+.+.....+.....+...........+...+.......+..............+.....+....+.........+....+...........+.+..........+.......+...........+...+.............+.+.+.+........+.....+..+..+........+.+....+.......+.....+..+.....+.......+......+.......................+..................+++++++++++++++++++++++++++++++++++++++++++++++++++*

Generating a 1024 bit DSA private key

writing new private key to 'mykey.pem'

-----

140229566310216:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type

_sign.c:142:

140229566310216:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:279:

140237058017096:error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type

_sign.c:142:

140237058017096:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:279:

Cual puede ser la causa?