mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 22:08:07 -04:00
Current Boulder supports registrations
This commit is contained in:
parent
62cdf4a2f8
commit
a6e1c3ed17
1 changed files with 3 additions and 7 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue