ispconfig_setup
ispconfig_setup copied to clipboard
problems making Certificate Request on Ubuntu 18.04
Hi,
Tried the script yesterday on a fresh Ubuntu 18.04 install.
Got the following errors:
problems making Certificate Request 139920134062528:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:../crypto/asn1/a_mbstr.c:109:maxsize=2 Updating Freshclam Antivirus Database. Please Wait... ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). ERROR: /var/log/clamav/freshclam.log is locked by another process
writing new private key to 'smtpd.key'
problems making Certificate Request 140684100542912:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:../crypto/asn1/a_mbstr.c:109:maxsize=2
Generating RSA private key, 4096 bit long modulus .++ .........................++ e is 65537 (0x010001) problems making Certificate Request 139700295160256:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:../crypto/asn1/a_mbstr.c:109:maxsize=2 req: Cannot open input file /usr/local/ispconfig/interface/ssl/ispserver.csr, No such file or directory req: Use -help for summary. writing RSA key
Not sure if this is related but also got an error trying to edit the roundcube config. No file or folder found as suggested:
"/var/lib/roundcube/plugins/ispconfig3_account/config/config.inc.php" [New DIRECTORY]
Only plugins i have are as follows:
/etc/roundcube/plugins /etc/roundcube/plugins/acl /etc/roundcube/plugins/additional_message_headers /etc/roundcube/plugins/database_attachments /etc/roundcube/plugins/emoticons /etc/roundcube/plugins/enigma /etc/roundcube/plugins/help /etc/roundcube/plugins/http_authentication /etc/roundcube/plugins/jqueryui /etc/roundcube/plugins/managesieve /etc/roundcube/plugins/new_user_identity /etc/roundcube/plugins/newmail_notifier /etc/roundcube/plugins/password /etc/roundcube/plugins/squirrelmail_usercopy /etc/roundcube/plugins/zipdownload /etc/roundcube/plugins/acl/config.inc.php /etc/roundcube/plugins/additional_message_headers/config.inc.php /etc/roundcube/plugins/database_attachments/config.inc.php /etc/roundcube/plugins/emoticons/config.inc.php /etc/roundcube/plugins/enigma/config.inc.php /etc/roundcube/plugins/help/config.inc.php /etc/roundcube/plugins/http_authentication/config.inc.php /etc/roundcube/plugins/jqueryui/config.inc.php /etc/roundcube/plugins/managesieve/config.inc.php /etc/roundcube/plugins/new_user_identity/config.inc.php /etc/roundcube/plugins/newmail_notifier/config.inc.php /etc/roundcube/plugins/password/config.inc.php /etc/roundcube/plugins/squirrelmail_usercopy/config.inc.php /etc/roundcube/plugins/zipdownload/config.inc.php
PS I found online that openssl doesnt like CN names longer than 64 chars but mine is only 27.
It looks like the problem is with your country name, which must be two characters. That is what the maxsize=2
is referring to in the error.
Thank you so much. That’s what it will be. I’m such an idiot. The example was. Country: example Italy. So I put England instead of EN. I’m away for a few days so I will confirm when I’m back.
Any ideas why the roundcube plugin for ISPConfig seems to be missing?
Ah ok. Does that mean it doesn’t work on Ubuntu or just isn’t installed by the script at present?
Once I removed the space between = and the country code, the error disappeared. IT was
countryName_default = TR
then I set it to
countryName_default =TR