'Create a new authorization for the given domain.
Return the authorization object of the new authorization
https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.4'

def _new_authz(self, domain):

    if (self.account.uri is None):
        return
    new_authz = {'resource': 'new-authz', 'identifier': {'type': 'dns', 'value': domain}}
    (result, info) = self.account.send_signed_request(self.directory['new-authz'], new_authz)
    if (info['status'] not in [200, 201]):
        self.module.fail_json(msg='Error    requesting    challenges:    CODE:    {0}    RESULT:    {1}'.format(info['status'], result))
    else:
        result['uri'] = info['location']
        return result
