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

letsencrypt / boulder / 11161
66%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2019 06:07AM UTC
Jobs 1
Files 107
Run time 12s
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

09 Sep 2019 07:21PM UTC coverage: 61.165%. Remained the same
11161

cron

travis-ci

web-flow
Generate and store OCSP at precertificate signing time (#4420)

This change adds two tables and two methods in the SA, to store precertificates
and serial numbers.

In the CA, when the feature flag is turned on, we generate a serial number, store it,
sign a precertificate and OCSP, store them, and then return the precertificate. Storing
the serial as an additional step before signing the certificate adds an extra layer of
insurance against duplicate serials, and also serves as a check on database availability.
Since an error storing the serial prevents going on to sign the precertificate, this decreases
the chance of signing something while the database is down.

Right now, neither table has read operations available in the SA.

To make this work, I needed to remove the check for duplicate certificateStatus entry
when inserting a final certificate and its OCSP response. I also needed to remove
an error that can occur when expiration-mailer processes a precertificate that lacks
a final certificate. That error would otherwise have prevented further processing of
expiration warnings.

Fixes #4412

This change builds on #4417, please review that first for ease of review.

145 of 145 new or added lines in 7 files covered. (100.0%)

11592 of 18952 relevant lines covered (61.17%)

0.68 hits per line

Jobs
ID Job ID Ran Files Coverage
7 11161.7 (RUN="coverage" CONTAINER="netaccess") 10 Sep 2019 06:07AM UTC 0
61.17
Travis Job 11161.7
Source Files on build 11161
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11161
  • 9906c932 on github
  • Prev Build on master (#11160)
  • Next Build on master (#11162)
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