Skip to content
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 invalid error for self-signed cert #25

Closed
kbroughton opened this issue Apr 18, 2016 · 4 comments
Closed

certificate invalid error for self-signed cert #25

kbroughton opened this issue Apr 18, 2016 · 4 comments

Comments

@kbroughton
Copy link

I have a marathon deployment using mantl which uses aws loadbalancing and self-signed certs.

depcon -e dev mar app list
2016-04-14 14:56:49 ERROR [depcon]: Get https://k4b4-mantl-control-01.node.c1.io/marathon/v2/apps: x509: certificate is valid for localhost, *.node.consul, *.service.consul, not k4b4-mantl-control-01.node.c1.io

Maybe there should be an option to allow self-signed certs to be accepted.
I can browse to this page fine, there is just an insecure ssl connection browser warning.

@gondor
Copy link
Member

gondor commented Apr 19, 2016

Ok, Just released 0.8.3 which should cover that. Can grab a new binary under the releases.

I will look into making this an option in the config for the environment depending on if this fixes it or not.

A new --insecure flag under all marathon commands is now available.

Example:

depcon -e dev mar app list --insecure

Let me know if this fixes your case

@kbroughton
Copy link
Author

Thanks for the quick turnaround!

I still see an error with the new binary.
(master)][brew_py2] depcon -e dev mar --insecure app list
2016-04-19 09:41:14 ERROR [depcon]: Get https://k4b4-mantl-control-01.node.c1.io/marathon/v2/apps: x509: certificate signed by unknown authority

I'm going to try and get a proper cert installed in the mean time.

@snoby
Copy link

snoby commented May 12, 2016

I'm using version .86 and I am also seeing this on my mantl cluster.
/work/Official/depcon$ ./depcon-osx64 app list --insecure
2016-05-12 15:03:37 ERROR [depcon]: Get https://control.z.blahblahablah.com/marathon//v2/apps: x509: certificate is valid for localhost, *.node.consul, *.service.consul, not blahblahblahblah.z.tropo.com

@luisdavim
Copy link

#44 fixes this.

@gondor gondor closed this as completed in 986bd6f Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants