Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Similar to this article from Azure themselves: http://www.windowsazure.com/en-us/manage/linux/common-tasks/install-lamp-stack/

I am trying to install PHP5 on Ubuntu 12.0.4 virtual machine. However, it fails installing the ssl-cert.

$ sudo apt-get install php5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up ssl-cert (1.0.28) ...
Could not create certificate. Openssl output was:
Generating a 2048 bit RSA private key
............................+++
...................................................................................................................+++
writing new private key to '/etc/ssl/private/ssl-cert-snakeoil.key'
-----
problems making Certificate Request
140320238503584:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:154:maxsize=64
dpkg: error processing ssl-cert (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ssl-cert
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any tips appreciated.

share|improve this question

migrated from stackoverflow.com Dec 2 '12 at 23:07

This question came from our site for professional and enthusiast programmers.

    
At which part of the error message did you hit the road-block? –  hakre Dec 2 '12 at 13:05
    
I'm not sure what you're asking me. I am running a single install command and I get this error. –  Alex Kennberg Dec 4 '12 at 19:06

1 Answer 1

For anyone hitting this error, I am still getting it from the ssl-cert package. However, it seems that the PHP5 package did successfully install. I saw this error while installing other LAMP packages too. There is not much available online to help resolve it and I have not hit this problem on the Amazon EC2.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.