I've purchased an SSL certificate from GoDaddy. I've created a keystore file, generated a CSR file from it, sent it to GoDaddy, and received these files:
- mydomain.crt
- gd_intermediate.crt
- gd_bundle.crt
Now I am trying to create an Elastic Load Balancer in the AWS console. When asked for certificate details, they ask for:
- Private Key (PEM encoded)
- Public Key Certificate (PEM encoded)
- Certificate Chain (PEM encoded, optional)
How do I convert the files I have to these parameters?
You want to convert mydomain.crt to mydomain.pem (the other two files are chain-of-trust files). You can use openssl on any unix or linux system to generate a pem file from a crt.
Since the certificate issuer has the private key, the only reason it should be asking you for one is if it is trying to generate a certificate. If you already have a certificate it should just use it. Check the documentation