-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificate not valid for orchard-controller #148
Comments
Got it working 🎉 The solution in OpenShift/kubernetes was to use a |
This shouldn't be normally the case when using custom X.509 certificates. Which command-line arguments did you use to invoke the |
I used this command: It then asks to establish trust using the certificate's fingerprint of my custom certificate. After I confirm this it fail with this error.
|
Interesting, which environment are you running this in? I've checked the code and the only way this fallback may happen is when the host's root CA set is empty, which might be the case when running in containers, for example, in I agree that the fallback method should respect the certificate details, though. And we should probably let the user know that the fallback is commencing. |
It's an alpine based docker container which runs in OpenShift. ca-certificates are installed. I tried it with https://github.com/cirruslabs/orchard/blob/main/internal/netconstants/netconstants.go#L11 changed to my hostname. Now I'm getting: |
Please check out the new
I've just tried running
Regarding your Orchard installation, does And does |
We have a working passthrough ingress now. Thanks for the fix! |
Hey,
when trying to create a new context I'm getting the following error:
API client failed to make a request: Get "https://MY_ORCHARD_DOMAIN:443/v1//": tls: failed to verify certificate: x509: certificate is valid for MY_ORCHARD_DOMAIN, not orchard-controller
I launch the controller with custom certificate and key:
orchard controller run --controller-cert /certs/controller-cert.pem --controller-key /certs/controller-key.pem
https://github.com/cirruslabs/orchard/blob/main/internal/netconstants/netconstants.go#L11 references this hostname.
In #86 the hard-coded SNI was also mentioned. How can I deploy orchard controller with my own hostname?
The text was updated successfully, but these errors were encountered: