Runscope 联系主机 SSL 时出错
Runscope Error contacting host SSL
我现在使用 Runscope 的时间很短,但它看起来非常简单。我对其他 APIs 没有问题,但是对于当前这个我有问题。
我收到的错误如下:
Error contacting host SSL: certificate is valid for *.hostgator.com,
hostgator.com, not NflArrest.com To turn off SSL verification for
this test, change your test's behavior settings, see
https://www.runscope.com/docs/api-testing/behaviors for more details
根据我阅读的文档here:
SSL Certificate Verification
By default, Runscope will only relay responses if the SSL certificate from the upstream API provider is valid and trusted. To bypass this protection (for instance if you're using a self-signed certificate) on a per-bucket basis, select Bucket Settings in the left sidebar and deselect the option to 'Verify SSL Certificates'.
我已经这样做了,据我所知应该可以。但是我仍然遇到同样的错误。我正在使用的 API 文档可以在 here.
中找到
测试不使用 bucket 设置,那只适用于 Gateway URLs/Traffic Inspector。要在测试中禁用 SSL 验证,请展开测试编辑器顶部的 "Environment" 部分,select "Behaviors" 并在那里取消切换。
我现在使用 Runscope 的时间很短,但它看起来非常简单。我对其他 APIs 没有问题,但是对于当前这个我有问题。
我收到的错误如下:
Error contacting host SSL: certificate is valid for *.hostgator.com, hostgator.com, not NflArrest.com To turn off SSL verification for this test, change your test's behavior settings, see https://www.runscope.com/docs/api-testing/behaviors for more details
根据我阅读的文档here:
SSL Certificate Verification
By default, Runscope will only relay responses if the SSL certificate from the upstream API provider is valid and trusted. To bypass this protection (for instance if you're using a self-signed certificate) on a per-bucket basis, select Bucket Settings in the left sidebar and deselect the option to 'Verify SSL Certificates'.
我已经这样做了,据我所知应该可以。但是我仍然遇到同样的错误。我正在使用的 API 文档可以在 here.
中找到测试不使用 bucket 设置,那只适用于 Gateway URLs/Traffic Inspector。要在测试中禁用 SSL 验证,请展开测试编辑器顶部的 "Environment" 部分,select "Behaviors" 并在那里取消切换。