free2er/certbot-regru

Wrong handling of multi-pieces domain (e.g. something.spb.ru)

Ngobo opened this issue · 0 comments

Ngobo commented

It tries to add txt record "_acme-challenge.something" of domain "spb.ru"
Fixed it by changing the code to the following

        input_data['subdomain'] = '.'.join(pieces[:1])
        input_data['domains'] = [{'dname': '.'.join(pieces[1:])}]

in _create_params method