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

certbot / certbot / 5856
99%

Build:
DEFAULT BRANCH: master
Ran 15 Nov 2016 08:05PM UTC
Jobs 1
Files 147
Run time 21s
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

pending completion
5856

push

travis-ci

pde
Fix reinstall message (#3784)

* Changed informational messages because of confusing message on reinstallation.

Certbot prompts the user when it detects that an appropriately fresh certificate
is already available:

        You have an existing certificate that contains exactly the same domains you requested and isn't close to expiry.
        (ref: <path>)

        What would you like to do?
        -------------------------------------------------------------------------------
        1: Attempt to reinstall this existing certificate
        2: Renew & replace the cert (limit ~5 per 7 days)
        -------------------------------------------------------------------------------
        Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1

On selecting '1' (reinstall), the resulting message is:

        -------------------------------------------------------------------------------
        Your existing certificate has been successfully reinstalled, and the new
        certificate has been installed.

        The new certificate covers the following domains: https://<whatever>

        You should test your configuration at:
        https://www.ssllabs.com/ssltest/analyze.html?d=<whatever>
        -------------------------------------------------------------------------------

"Your existing certificate has been successfully reinstalled" <-- Okay

"and the new certificate has been installed." <-- Wait, what?

The issue appears to come from assumptions in certbot/certbot/main.py

It uses `len(lineage.available_versions("cert"))` to determine if this was a
fresh install or renewal, and then calls either `display_ops.success_renewal()`
(which produces the "existing certificate ... and the new certificate" language)
or `display_ops.success_installation()` (which has no messaging about existing
vs. new certificates).

The len(lineage) test isn't the right way to make this choice. The certificate's... (continued)

34 of 34 new or added lines in 4 files covered. (100.0%)

16736 of 16931 relevant lines covered (98.85%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5856.1 (TOXENV=cover BOULDER_INTEGRATION=1) 15 Nov 2016 08:05PM UTC 0
98.85
Travis Job 5856.1
Source Files on build 5856
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5856
  • e5f4d0cb on github
  • Prev Build on master (#5855)
  • Next Build on master (#5875)
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