1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

upstream changed API :-)

This commit is contained in:
Seth Schoen
2012-08-09 17:41:38 -07:00
parent f167fe732b
commit f449f538dd

View File

@@ -270,7 +270,7 @@ class session(object):
return
try:
# Check whether the SSL Observatory has seen a valid cert for this name.
if urllib2.urlopen("https://observatory.eff.org/check_name?domain_name=%s" % san).read().strip() != "No":
if urllib2.urlopen("https://observatory.eff.org/check_name?domain_name=%s" % san).read().strip() != "False":
self.die(r, r.CannotIssueThatName, uri="https://ca.example.com/failures/observatory?%s" % san)
return
except urllib2.HTTPError: