question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using nodebalancers config-update

See original GitHub issue

When attempting to use the rewritten CLI, there doesn’t appear to be any documentation on what the SSL cert & key arguments should look like.

linode-cli nodebalancers config-update 123 123 --port 443 --ssl_cert /etc/letsencrypt/live/forums.spacebattles.com/fullchain.pem --ssl_key /etc/letsencrypt/live/forums.spacebattles.com/privkey.pem

Returns:

lerrorsqqqqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x field    x reason                                              x
tqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x ssl_key  x SSL private key appears to be incorrectly formatted x
x ssl_cert x SSL certificate appears to be incorrectly formatted x
mqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Dorthucommented, Aug 16, 2018

Really sorry this took so long - the API bug turned out to be very difficult to unwind. I just shipped the fix - this should work now. Please let me know if it does, and if you have any other issues. Thank you again for your patience!

1reaction
Dorthucommented, Jul 2, 2018

I believe it is expecting the full cert/key to be included there. You could do something like this:

linode-cli nodebalancers config-update 123 123 --port 443 --ssl_cert "$(cat /etc/letsencrypt/live/forums.spacebattles.com/fullchain.pem)" --ssl_key "$(cat /etc/letsencrypt/live/forums.spacebattles.com/privkey.pem)"

I’ll look into adding the ability to specify files as input to the spec/CLI shortly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node Balancers | Linode
Creates a NodeBalancer in the requested Region. NodeBalancers require a port Config with at least one backend Node to start serving requests. When...
Read more >
Let's Encrypt HTTPS + Linode NodeBalancer - Delicious Brains
Ensure that the renew script is updated with the new webroot and domain, and then manually run the command to update the node...
Read more >
Linode API | NodeBalancers - Developer Tools
Returns a paginated list of NodeBalancer Configs associated with this NodeBalancer. NodeBalancer Configs represent individual ports that this NodeBalancer ...
Read more >
linodego package - github.com/Charliekenney23/linodego - Go ...
Context, nodebalancer NodeBalancerCreateOptions) (*NodeBalancer, error); func (c *Client) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int ...
Read more >
linode_api3 - Python Package Health Analysis | Snyk
Linode APIv3 client for Python3 For more information about how to use this package ... linode.config.update(linode_id, config_id, kernel_id, label, disks, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found