Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have an existing ELB on EC2. It's got a GoDaddy issued wildcard ssl cert. I've downloaded the new .crt and gd_bundle.crt from GoDaddy.

In ec2 I go to the load balancer, click the certificate, choose to upload a new cert. I copy the existing private key into the private key field. The contents of the new .crt into the public certificate field and the contents of gd_bundle.crt into the certificate chain field.

When I try and save it I get the error "Invalid Public Key Certificate."

The certs are in PEM format (or they seem to be)

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Turns out I was missing that my key was not an RSA key, I needed to do the following:

openssl rsa -in company.key -out company_rsa.key
share|improve this answer
    
Awesome, no idea how I generated it as not an RSA key, but thanks! –  Joe Hoyle Dec 18 '13 at 15:19

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.