-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error: Bad Certificate #50
Comments
Hi @kmj940101, I tried to execute same command line and then, curl command version 7.35 returns same error, when k/insecure option is specified. I haven't found any cause of this error. If you want to access metrics collector and scaling engine, please try to use client certification. The following is an example.
Metricscollector and Scalingengine certification is where the following server and path.
|
@kanekoh Thank you for your reply. I followed your instruction and it worked well. I want to use the APIs from the web. The bosh-lite that I am using forwards ports through a linux gateway with iptables. This is what it looks like, when I execute "sudo iptables -t nat -L PREROUTING"
When tried to access the metricscollector and scalingengine from the web, it did not work. Any idea? I really appreciate your help! [apiserver] https://< bosh-lite IP >:6100[servicebroker] https://< bosh-lite IP >:6101[scheduler] https://< bosh-lite IP >:6102[metricscollector] https://< bosh-lite IP >:6103[scalingengine] https://< bosh-lite IP >:6104
|
Currently, public endpoint of app-autoscaler is not exposed. |
@kanekoh Thank you for your comment. I have another question, which is similar to the first one. If there is no public endpoint, I want to access the APIs through the internal IPs. This is what it looks like when I execute
[apiserver]
[scheduler]
[metricscollector]
Any idea what causes this error to occur when trying to use the metricscollector APIs? Thank you. |
Please specify certificates as I mentioned before. |
I tried that one a couple of days ago and it worked well. [https://metricscollector.service.cf.internal:6103]
What I want to do is to access the APIs through the internal IPs. [https://10.244.4.7:6103]
[Certificate Decoder]
Thank you in advance for any help you can provide! |
Please try to specify -k/--insecure and client certification (--cert, --key) options. The following is a sample.
|
Allow a PR to define the list of ops file to use
I successfully deployed the app-autoscaler-release on AWS.
Everything works well except for the metricscollector and scalingengine APIs.
I can use the apiserver APIs.
When I try to access the metricscollector, it says that the certificate is not valid.
I attached my yml file.
app-autoscaler-release.zip
Any help would be really appreciated!
The text was updated successfully, but these errors were encountered: