2100680
连接参数代码:
var options = { host: 'em1.localdomain', port: 7799, path: '/em/cloud', method: 'GET', rejectUnauthorized: false, headers: { 'Authorization' : 'basic U1NBX1VTRVIxOldlbGNvbWUx', 'Accept': 'application/oracle.com.cloud.common.Cloud+json' }
如果options不加rejectUnauthorized: false, 会提示:
ERROR SELF_SIGNED_CERT_IN_CHAIN
如果加了会提示:
Some issues detected while trying to authenticate the user 'USER1'. This may be intermittent" .Failed to login using repository authentication for user: USER1"
谁知道怎么解决吗?