• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

letsencrypt / pebble / 1480
8%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2019 07:03PM UTC
Jobs 1
Files 1
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jul 2019 06:17PM UTC coverage: 0.0%. Remained the same
1480

cron

travis-ci

cpu
management: add /cert-status-by-serial/ endpoint (#252)

This adds a `/cert-status-by-serial/` endpoint to the management interface. The
certificate is identified by its serial number (in hexadecimal).
The endpoint returns the certificate itself (in PEM format), the serial
(hexadecimal) and the revocation status (`Valid` or `Revoked`) as a JSON object.

Example usage:
```
$ curl -ki https://127.0.0.1:15000/cert-status-by-serial/5ab954d39632fd78
HTTP/2 200 
cache-control: public, max-age=0, no-cache
content-type: application/json; charset=utf-8
link: <https://127.0.0.1:15000/dir>;rel="index"
content-length: 1671
date: Fri, 12 Jul 2019 21:39:24 GMT

{
     "Certificate": "-----BEGIN CERTIFICATE-----\nMIIEVz...tcw=\n-----END CERTIFICATE-----\n",
     "Serial": "5ab954d39632fd78",
     "Status": "Valid"
}

$ curl -ki https://127.0.0.1:15000/cert-status-by-serial/7811e0b42b98cc1c
HTTP/2 200 
cache-control: public, max-age=0, no-cache
content-type: application/json; charset=utf-8
link: <https://127.0.0.1:15000/dir>;rel="index"
content-length: 1728
date: Fri, 12 Jul 2019 22:14:17 GMT

{
     "Certificate": "-----BEGIN CERTIFICATE-----\nMIIEVz...tcw=\n-----END CERTIFICATE-----\n",
     "RevokedAt": "2019-07-13T00:14:13.719654003+02:00",
     "Serial": "7811e0b42b98cc1c",
     "Status": "Revoked"
}

$ curl -ki https://127.0.0.1:15000/cert-status-by-serial/66317d2e02f5d3d6
HTTP/2 200 
cache-control: public, max-age=0, no-cache
content-type: application/json; charset=utf-8
link: <https://127.0.0.1:15000/dir>;rel="index"
content-length: 1740
date: Fri, 12 Jul 2019 22:14:21 GMT

{
     "Certificate": "-----BEGIN CERTIFICATE-----\nMIIEVz...tcw=\n-----END CERTIFICATE-----\n",
     "Reason": 4,
     "RevokedAt": "2019-07-13T00:13:20.418489956+02:00",
     "Serial": "66317d2e02f5d3d6",
     "Status": "Revoked"
}
```

0 of 76 relevant lines covered (0.0%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1480.1 (GO111MODULE=on) 28 Jul 2019 07:03PM UTC 0
0.0
Travis Job 1480.1
Source Files on build 1480
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1480
  • ddbb755c on github
  • Prev Build on master (#1474)
  • Next Build on master (#1482)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc