SSL Private Key Format for NodeBalancer HTTPS Configuration
I'm looking to set up the HTTPS configuration for my NodeBalancer. I understand that this is the format I'll be using for my certificate:
-----BEGIN CERTIFICATE----- YOUR_CERTIFICATE_INFORMATION -----END CERTIFICATE-----
What about the format for my private key? I keep getting a format error when attempting to paste this key in my Cloud Manager.
While the format might be a bit different depending on the type of key you're using, many private keys often use the following format:
-----BEGIN PRIVATE KEY----- Insert your unencrypted private key here -----END PRIVATE KEY-----
As mentioned in the code block above, you'll want to ensure that you're providing the unencrypted version of your key. You'll also want to ensure that your private key does not require a passphrase.
There's an example of what this could look like in a screenshot within the Certificate and Private Key section of our NodeBalancer Reference Guide. If you haven't looked over that guide yet, I'd highly recommend giving it a read!