mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:15:42 +02:00
Current Boulder supports registrations
This commit is contained in:
@@ -21,13 +21,9 @@ key = jose.JWKRSA.load(pkg_resources.resource_string(
|
||||
'letsencrypt.acme.jose', os.path.join('testdata', 'rsa512_key.pem')))
|
||||
net = network2.Network(NEW_REG_URL, key)
|
||||
|
||||
contact = contact=('mailto:cert-admin@example.com', 'tel:+12025551212')
|
||||
# Boulder does not support registrations
|
||||
#regr = net.register(contact=contact)
|
||||
regr = messages2.RegistrationResource(
|
||||
body=messages2.Registration(contact=contact, key=key.public()),
|
||||
uri=NEW_REG_URL + '/fooooo',
|
||||
new_authz_uri=NEW_AUTHZ_URL)
|
||||
regr = net.register(contact=(
|
||||
'mailto:cert-admin@example.com', 'tel:+12025551212'))
|
||||
logging.debug(regr)
|
||||
|
||||
authzr = net.request_challenges(
|
||||
identifier=messages2.Identifier(
|
||||
|
||||
Reference in New Issue
Block a user