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

failed to work with CF Dev (x509: certificate signed by unknown authority) #2

Closed
drnic opened this issue Apr 28, 2019 · 4 comments
Closed

Comments

@drnic
Copy link

drnic commented Apr 28, 2019

$ cf dev start
$ cf login -a https://api.dev.cfdev.sh --skip-ssl-validation -u user -p pass
$ cf report-users

2019/04/29 09:39:32 GET https://api.dev.cfdev.sh/v2/organizations
2019/04/29 09:39:32 Get https://api.dev.cfdev.sh/v2/organizations: x509: certificate signed by unknown authority

Want a PR to allow skipping SSL validation if ~/.cf/config.json has SSLDisabled: true?

@aeijdenberg
Copy link
Contributor

Sorry to miss the notification - looks like when I created this repo, I wasn't actually watching it. ;)

We could add - though the point of this plugin is to audit usage of real environments, so I wouldn't have thought it would be terribly useful?

@bala151187
Copy link

You can use mine . i have added the feature to skip self signed certificates
https://github.com/bala151187/cf-report-users

@drnic
Copy link
Author

drnic commented May 20, 2019

Thanks @bala151187 for #1
/cc @aeijdenberg

@aeijdenberg
Copy link
Contributor

Fixed in da1135c (although tbh I didn't test again in a self-signed env, so let me know if it didn't work for any reason).

Thanks @bala151187 and @drnic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants