CA private key has unexpected type *ecdsa.PrivateKey

Bug #1745941 reported by Kevin Wennemuth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

Apparently ECDSA is not supported for generating a controller certificate via ca-cert and ca-private-key, so this would be a feature request?

Even more useful would be a configuration switch to set a certificate and key to use in the controller, e.g. ssl-crt, ssl-key or ssl-bundle.

Original message for completeness:

juju bootstrap --auto-upgrade --config=~/lab.yaml --agent-version 2.3.1-xenial-amd64 vsphere juju
Creating Juju controller "juju" on lab
Looking for packaged Juju agent version 2.3.1 for amd64
Launching controller instance(s) on vsphere/lab...
 - juju-61bef6-0 (arch=amd64 mem=3.5G) ef8-88b1-bc2b9aa80ef9/xenial/b07093a95f3b7244f0b2583a728cf0cc2e9574422fc0023b38f70e7a0786eb2a.vmdk.tmp: 96.07% (2.7MiB/s)
Installing Juju agent on bootstrap instance

ERROR failed to bootstrap model: finalizing bootstrap instance config: cannot generate controller certificate: CA private key has unexpected type *ecdsa.PrivateKey

Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Upon further investigation (thank you, axwalk), in "utils/cert" package, NewLeaf is requiring key to be an rsa.PrivateKey but it doesn't seem to do anything RSA-specific. So, when/if we do decide to change it, it may not be too hard :)

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Wishlist → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.