216 - Unverified Host Certificate¶
API Error Code | 216 |
HTTP Status Code | HTTP 403 Forbidden |
Error Text | The HTTPS certificate on the host is unverified |
Description | Review Board encountered an unverified HTTPS certificate another host (typically a repository). The certificate needs to be verified before Review Board can access the host. The certificate information will be returned along with the error. |
Examples¶
application/json¶
{
"certificate": {
"failures": [
"failure 1",
"failure 2",
"..."
],
"fingerprint": "_https certificate fingerprint_",
"hostname": "svn.example.com",
"issuer": "MyIssuer",
"valid": {
"from": "_date_",
"until": "_date_"
}
},
"err": {
"code": 216,
"msg": "The HTTPS certificate on the host is unverified"
},
"stat": "fail"
}
application/xml¶
<?xml version="1.0" encoding="utf-8"?>
<rsp>
<stat>fail</stat>
<err>
<msg>The HTTPS certificate on the host is unverified</msg>
<code>216</code>
</err>
<certificate>
<issuer>MyIssuer</issuer>
<failures>
<array>
<item>failure 1</item>
<item>failure 2</item>
<item>...</item>
</array>
</failures>
<hostname>svn.example.com</hostname>
<valid>
<from>_date_</from>
<until>_date_</until>
</valid>
<fingerprint>_https certificate fingerprint_</fingerprint>
</certificate>
</rsp>