0

I developed an app using watson and cloudant. Completed the coding part using eclipse. Build was successful and I got war file. When I am trying to push this to bluemix, I am facing problem. on giving the command

cf api https://api.eu-gb.bluemix.net or cf api https://api.ng.bluemix.net

I get the following in response

setting api endpoint to https://api.eu-gb.bluemixnet...
FAILED
Invalide SSL Cert for api.eu-gb.bluemix.net
TIP:Use 'CF api --skip--ssl-validation' to continue with an insecure API endpoint

Please help out, or tell some way to push my application.

4

1 回答 1

1

我不确定您为什么会收到 SSL 证书错误。

请您尝试通过直接给它端点来查看 cf login 是否适合您? http://docs.cloudfoundry.org/devguide/installcf/whats-new-v6.html

-u 是 Bluemix 用户 ID,这将提示您输入密码。让我知道这是否为您解决或者您收到相同的 SSL 错误

Example => 
    >>cf login -a api.ng.bluemix.net -u xxx@yy.zz -o xxx@yy.zz -s dev
    API endpoint: api.ng.bluemix.net
    Password>
    Authenticating...
    OK

    Targeted org xxx@yy.zz
    Targeted space dev

    API endpoint:   https://api.ng.bluemix.net (API version: 2.14.0)
    User:           xxx@yy.zz
    Org:            xxx@yy.zz
    Space:          dev   
于 2015-01-10T05:15:43.517 回答