SSL Private Key Format for NodeBalancer HTTPS Configuration

Linode Staff

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.

1 Reply

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!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct